home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / Developer Essentials Jul 90 / DTS Sample Code / Macintosh Sample Code / Monthly Releases (Compressed) / MacDTS.Sample.Code.90.05.sit / SC.014.CPlusTESample / UMAFailure.p < prev   
MacBinary  |  1990-05-01  |  12.4 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert ZX81 Sinclair BASIC (image/sinclairBASIC) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue May 1 12:00:00 1990, modified Tue May 1 12:00:00 1990, creator 'MPS ', type ASCII, 8895 bytes "UMAFailure.p" , at 0x233f 3463 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 55 4d 41 46 61 69 | 6c 75 72 65 2e 70 00 00 |..UMAFai|lure.p..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 22 bf 00 | 00 0d 87 a2 63 63 00 a2 |....."..|....cc..|
|00000060| 63 63 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |cc......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 6d 54 00 00 |........|....mT..|
|00000080| 7b 5b 61 2d 2c 62 6f 64 | 79 2b 2c 68 2d 2c 6f 3d |{[a-,bod|y+,h-,o=|
|00000090| 31 30 30 2c 72 2b 2c 72 | 65 63 2b 2c 74 3d 34 2c |100,r+,r|ec+,t=4,|
|000000a0| 75 2b 2c 23 2b 2c 6a 3d | 32 30 2f 35 37 2f 31 24 |u+,#+,j=|20/57/1$|
|000000b0| 2c 6e 2d 5d 7d 0d 7b 20 | 55 46 61 69 6c 75 72 65 |,n-]}.{ |UFailure|
|000000c0| 2e 70 20 7d 0d 7b 20 43 | 6f 70 79 72 69 67 68 74 |.p }.{ C|opyright|
|000000d0| 20 a9 20 31 39 38 35 2d | 31 39 39 30 20 62 79 20 | . 1985-|1990 by |
|000000e0| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, |
|000000f0| 49 6e 63 2e 20 20 41 6c | 6c 20 72 69 67 68 74 73 |Inc. Al|l rights|
|00000100| 20 72 65 73 65 72 76 65 | 64 2e 20 7d 0d 0d 7b 5b | reserve|d. }..{[|
|00000110| 66 2d 5d 7d 0d 28 2a 0d | 09 09 09 09 54 20 48 20 |f-]}.(*.|....T H |
|00000120| 45 20 4f 20 52 20 59 20 | 20 4f 20 46 09 20 4f 20 |E O R Y | O F. O |
|00000130| 50 20 45 20 52 20 41 20 | 54 20 49 20 4f 20 4e 0d |P E R A |T I O N.|
|00000140| 0d 09 54 68 69 73 20 75 | 6e 69 74 20 69 6d 70 6c |..This u|nit impl|
|00000150| 65 6d 65 6e 74 73 20 74 | 68 65 20 4d 61 63 41 70 |ements t|he MacAp|
|00000160| 70 20 66 61 69 6c 75 72 | 65 20 6d 65 63 68 61 6e |p failur|e mechan|
|00000170| 69 73 6d 2e 0d 0d 09 54 | 68 65 20 66 61 69 6c 75 |ism....T|he failu|
|00000180| 72 65 20 6d 65 63 68 61 | 6e 69 73 6d 20 69 73 20 |re mecha|nism is |
|00000190| 62 75 69 6c 74 20 61 72 | 6f 75 6e 64 20 65 78 63 |built ar|ound exc|
|000001a0| 65 70 74 69 6f 6e 20 68 | 61 6e 64 6c 65 72 73 2e |eption h|andlers.|
|000001b0| 09 41 6e 20 65 78 63 65 | 70 74 69 6f 6e 0d 09 68 |.An exce|ption..h|
|000001c0| 61 6e 64 6c 65 72 20 69 | 73 20 61 20 72 6f 75 74 |andler i|s a rout|
|000001d0| 69 6e 65 2c 20 67 65 6e | 65 72 61 6c 6c 79 20 6c |ine, gen|erally l|
|000001e0| 6f 63 61 6c 20 74 6f 20 | 73 6f 6d 65 20 6f 74 68 |ocal to |some oth|
|000001f0| 65 72 20 72 6f 75 74 69 | 6e 65 2c 20 74 68 61 74 |er routi|ne, that|
|00000200| 20 69 73 0d 09 63 61 6c | 6c 65 64 20 77 68 65 6e | is..cal|led when|
|00000210| 20 61 20 66 61 69 6c 75 | 72 65 20 6f 63 63 75 72 | a failu|re occur|
|00000220| 73 20 61 6e 64 20 74 61 | 6b 65 73 20 61 63 74 69 |s and ta|kes acti|
|00000230| 6f 6e 20 74 6f 20 68 61 | 6e 64 6c 65 20 74 68 65 |on to ha|ndle the|
|00000240| 20 66 61 69 6c 75 72 65 | 2e 0d 09 41 6e 20 65 78 | failure|...An ex|
|00000250| 63 65 70 74 69 6f 6e 20 | 68 61 6e 64 6c 65 72 20 |ception |handler |
|00000260| 69 73 20 6f 66 20 74 68 | 65 20 66 6f 72 6d 0d 0d |is of th|e form..|
|00000270| 09 50 52 4f 43 45 44 55 | 52 45 20 45 78 63 65 70 |.PROCEDU|RE Excep|
|00000280| 74 69 6f 6e 48 61 6e 64 | 6c 65 72 20 28 65 72 72 |tionHand|ler (err|
|00000290| 6f 72 3a 20 4f 53 45 72 | 72 3b 20 6d 65 73 73 61 |or: OSEr|r; messa|
|000002a0| 67 65 3a 20 4c 4f 4e 47 | 49 4e 54 29 3b 0d 0d 09 |ge: LONG|INT);...|
|000002b0| 77 68 65 72 65 20 65 72 | 72 6f 72 20 69 73 20 74 |where er|ror is t|
|000002c0| 68 65 20 65 72 72 6f 72 | 20 74 68 61 74 20 63 61 |he error| that ca|
|000002d0| 75 73 65 64 20 74 68 65 | 20 66 61 69 6c 75 72 65 |used the| failure|
|000002e0| 2c 20 61 6e 64 20 6d 65 | 73 73 61 67 65 20 69 64 |, and me|ssage id|
|000002f0| 65 6e 74 69 66 69 65 73 | 0d 09 74 68 65 20 65 72 |entifies|..the er|
|00000300| 72 6f 72 20 6d 65 73 73 | 61 67 65 20 74 68 61 74 |ror mess|age that|
|00000310| 20 6d 61 79 20 62 65 20 | 64 69 73 70 6c 61 79 65 | may be |displaye|
|00000320| 64 2e 20 20 43 6f 6e 73 | 69 64 65 72 20 61 20 72 |d. Cons|ider a r|
|00000330| 6f 75 74 69 6e 65 20 74 | 68 61 74 20 6f 70 65 6e |outine t|hat open|
|00000340| 73 0d 09 61 20 66 69 6c | 65 2c 20 72 65 61 64 73 |s..a fil|e, reads|
|00000350| 20 69 74 73 20 63 6f 6e | 74 65 6e 74 73 2c 20 61 | its con|tents, a|
|00000360| 6e 64 20 63 6c 6f 73 65 | 73 20 74 68 65 20 66 69 |nd close|s the fi|
|00000370| 6c 65 2e 20 20 49 66 20 | 61 20 66 61 69 6c 75 72 |le. If |a failur|
|00000380| 65 20 6f 63 63 75 72 65 | 64 0d 09 77 68 69 6c 65 |e occure|d..while|
|00000390| 20 72 65 61 64 69 6e 67 | 20 74 68 65 20 66 69 6c | reading| the fil|
|000003a0| 65 2c 20 61 6e 20 65 78 | 63 65 70 74 69 6f 6e 20 |e, an ex|ception |
|000003b0| 68 61 6e 64 6c 65 72 20 | 77 6f 75 6c 64 20 62 65 |handler |would be|
|000003c0| 20 6e 65 65 64 65 64 20 | 74 6f 20 63 6c 6f 73 65 | needed |to close|
|000003d0| 20 74 68 65 0d 09 66 69 | 6c 65 2c 20 61 73 20 74 | the..fi|le, as t|
|000003e0| 68 65 20 72 65 73 74 20 | 6f 66 20 74 68 65 20 72 |he rest |of the r|
|000003f0| 6f 75 74 69 6e 65 20 77 | 69 6c 6c 20 6e 6f 74 20 |outine w|ill not |
|00000400| 62 65 20 65 78 65 63 75 | 74 65 64 2e 09 28 53 65 |be execu|ted..(Se|
|00000410| 65 20 74 68 65 20 65 78 | 61 6d 70 6c 65 0d 09 61 |e the ex|ample..a|
|00000420| 74 20 74 68 65 20 65 6e | 64 20 6f 66 20 74 68 65 |t the en|d of the|
|00000430| 73 65 20 63 6f 6d 6d 65 | 6e 74 73 2e 29 0d 0d 09 |se comme|nts.)...|
|00000440| 52 65 66 65 72 65 6e 63 | 65 73 20 74 6f 20 65 78 |Referenc|es to ex|
|00000450| 70 65 63 74 69 6f 6e 20 | 68 61 6e 64 6c 65 72 73 |pection |handlers|
|00000460| 20 61 72 65 20 64 65 66 | 69 6e 65 64 20 62 79 20 | are def|ined by |
|00000470| 74 68 65 20 46 61 69 6c | 49 6e 66 6f 20 72 65 63 |the Fail|Info rec|
|00000480| 6f 72 64 2e 0d 09 54 68 | 65 20 65 78 63 65 70 74 |ord...Th|e except|
|00000490| 69 6f 6e 20 68 61 6e 64 | 6c 65 72 73 20 66 6f 72 |ion hand|lers for|
|000004a0| 6d 20 61 20 6c 69 6e 6b | 65 64 2d 6c 69 73 74 20 |m a link|ed-list |
|000004b0| 76 69 61 20 74 68 65 20 | 6e 65 78 74 49 6e 66 6f |via the |nextInfo|
|000004c0| 20 66 69 65 6c 64 20 6f | 66 0d 09 46 61 69 6c 49 | field o|f..FailI|
|000004d0| 6e 66 6f 2e 09 54 68 65 | 20 6c 69 6e 6b 65 64 20 |nfo..The| linked |
|000004e0| 6c 69 73 74 20 69 73 20 | 61 20 73 74 61 63 6b 20 |list is |a stack |
|000004f0| 73 69 6e 63 65 20 6e 65 | 77 20 65 78 63 65 70 74 |since ne|w except|
|00000500| 69 6f 6e 20 68 61 6e 64 | 6c 65 72 73 0d 09 61 72 |ion hand|lers..ar|
|00000510| 65 20 61 64 64 65 64 20 | 74 6f 20 74 68 65 20 66 |e added |to the f|
|00000520| 72 6f 6e 74 20 6f 66 20 | 74 68 65 20 6c 69 73 74 |ront of |the list|
|00000530| 2e 0d 0d 09 4e 65 77 20 | 65 78 63 65 70 74 69 6f |....New |exceptio|
|00000540| 6e 20 68 61 6e 64 6c 65 | 72 73 20 61 72 65 20 61 |n handle|rs are a|
|00000550| 64 64 65 64 20 74 6f 20 | 74 68 65 20 73 74 61 63 |dded to |the stac|
|00000560| 6b 20 77 69 74 68 20 74 | 68 65 20 43 61 74 63 68 |k with t|he Catch|
|00000570| 46 61 69 6c 75 72 65 73 | 0d 09 70 72 6f 63 65 64 |Failures|..proced|
|00000580| 75 72 65 2c 20 61 6e 64 | 20 72 65 6d 6f 76 65 64 |ure, and| removed|
|00000590| 20 66 72 6f 6d 20 74 68 | 65 20 73 74 61 63 6b 20 | from th|e stack |
|000005a0| 77 69 74 68 20 74 68 65 | 20 53 75 63 63 65 73 73 |with the| Success|
|000005b0| 20 70 72 6f 63 65 64 75 | 72 65 2e 09 49 6e 0d 09 | procedu|re..In..|
|000005c0| 67 65 6e 65 72 61 6c 20 | 79 6f 75 20 63 61 6c 6c |general |you call|
|000005d0| 20 43 61 74 63 68 46 61 | 69 6c 75 72 65 73 20 74 | CatchFa|ilures t|
|000005e0| 6f 20 70 6f 73 74 20 61 | 6e 20 65 78 63 65 70 74 |o post a|n except|
|000005f0| 69 6f 6e 20 68 61 6e 64 | 6c 65 72 20 77 68 65 6e |ion hand|ler when|
|00000600| 20 61 6e 0d 09 65 72 72 | 6f 72 20 74 68 65 20 61 | an..err|or the a|
|00000610| 70 70 6c 69 63 61 74 69 | 6f 6e 20 73 68 6f 75 6c |pplicati|on shoul|
|00000620| 64 20 68 61 6e 64 6c 65 | 20 6d 69 67 68 74 20 6f |d handle| might o|
|00000630| 63 63 75 72 2c 20 61 6e | 64 20 63 61 6c 6c 20 53 |ccur, an|d call S|
|00000640| 75 63 63 65 73 73 20 74 | 6f 0d 09 72 65 6d 6f 76 |uccess t|o..remov|
|00000650| 65 20 74 68 65 20 68 61 | 6e 64 6c 65 72 20 66 72 |e the ha|ndler fr|
|00000660| 6f 6d 20 74 68 65 20 73 | 74 61 63 6b 2c 20 61 66 |om the s|tack, af|
|00000670| 74 65 72 20 74 68 65 20 | 68 61 6e 64 6c 65 72 20 |ter the |handler |
|00000680| 69 73 20 6e 6f 20 6c 6f | 6e 67 65 72 0d 09 6e 65 |is no lo|nger..ne|
|00000690| 65 64 65 64 20 28 69 2e | 65 2e 20 74 68 65 20 70 |eded (i.|e. the p|
|000006a0| 6f 73 73 69 62 69 6c 69 | 74 79 20 6f 66 20 65 72 |ossibili|ty of er|
|000006b0| 72 6f 72 20 6e 6f 20 6c | 6f 6e 67 65 72 20 65 78 |ror no l|onger ex|
|000006c0| 69 73 74 73 29 2e 20 20 | 41 6e 79 20 66 61 69 6c |ists). |Any fail|
|000006d0| 75 72 65 0d 09 64 65 74 | 65 63 74 65 64 20 77 69 |ure..det|ected wi|
|000006e0| 74 68 69 6e 20 74 68 65 | 20 6c 69 6d 69 74 73 20 |thin the| limits |
|000006f0| 6f 66 20 74 68 65 20 43 | 61 74 63 68 46 61 69 6c |of the C|atchFail|
|00000700| 75 72 65 73 20 61 6e 64 | 20 73 75 62 73 65 71 75 |ures and| subsequ|
|00000710| 65 6e 74 20 53 75 63 63 | 65 73 73 0d 09 63 61 6c |ent Succ|ess..cal|
|00000720| 6c 20 72 65 73 75 6c 74 | 73 20 69 6e 20 74 68 65 |l result|s in the|
|00000730| 20 65 78 65 63 75 74 69 | 6f 6e 20 6f 66 20 74 68 | executi|on of th|
|00000740| 65 20 65 78 63 65 70 74 | 69 6f 6e 20 68 61 6e 64 |e except|ion hand|
|00000750| 6c 65 72 2e 20 20 28 46 | 61 69 6c 75 72 65 20 64 |ler. (F|ailure d|
|00000760| 6f 65 73 0d 09 6e 6f 74 | 20 68 61 76 65 20 74 6f |oes..not| have to|
|00000770| 20 6f 63 63 75 72 20 69 | 6e 20 74 68 65 20 73 61 | occur i|n the sa|
|00000780| 6d 65 20 72 6f 75 74 69 | 6e 65 20 61 73 20 79 6f |me routi|ne as yo|
|00000790| 75 72 20 63 61 6c 6c 20 | 74 6f 20 43 61 74 63 68 |ur call |to Catch|
|000007a0| 46 61 69 6c 75 72 65 73 | 2e 0d 09 54 68 65 20 66 |Failures|...The f|
|000007b0| 61 69 6c 75 72 65 20 6d | 61 79 20 6f 63 63 75 72 |ailure m|ay occur|
|000007c0| 20 69 6e 20 61 6e 79 20 | 72 6f 75 74 69 6e 65 20 | in any |routine |
|000007d0| 63 61 6c 6c 65 64 20 61 | 66 74 65 72 20 43 61 74 |called a|fter Cat|
|000007e0| 63 68 46 61 69 6c 75 72 | 65 73 20 62 75 74 0d 09 |chFailur|es but..|
|000007f0| 62 65 66 6f 72 65 20 53 | 75 63 63 65 73 73 2e 29 |before S|uccess.)|
|00000800| 0d 0d 09 57 68 65 6e 20 | 4d 61 63 41 70 70 20 28 |...When |MacApp (|
|00000810| 6f 72 20 79 6f 75 72 20 | 63 6f 64 65 29 20 64 65 |or your |code) de|
|00000820| 74 65 72 6d 69 6e 65 73 | 20 74 68 61 74 20 61 20 |termines| that a |
|00000830| 66 61 69 6c 75 72 65 20 | 68 61 73 20 6f 63 63 75 |failure |has occu|
|00000840| 72 65 64 2c 20 69 74 0d | 09 63 61 6c 6c 73 20 46 |red, it.|.calls F|
|00000850| 61 69 6c 75 72 65 2e 09 | 41 73 20 61 20 63 6f 6e |ailure..|As a con|
|00000860| 76 65 6e 69 65 6e 63 65 | 2c 20 73 65 76 65 72 61 |venience|, severa|
|00000870| 6c 20 70 72 6f 63 65 64 | 75 72 65 73 20 61 72 65 |l proced|ures are|
|00000880| 20 70 72 6f 76 69 64 65 | 64 0d 09 74 6f 20 63 68 | provide|d..to ch|
|00000890| 65 63 6b 20 66 6f 72 20 | 73 74 61 6e 64 61 72 64 |eck for |standard|
|000008a0| 20 6b 69 6e 64 73 20 6f | 66 20 66 61 69 6c 75 72 | kinds o|f failur|
|000008b0| 65 73 20 61 6e 64 20 63 | 61 6c 6c 20 46 61 69 6c |es and c|all Fail|
|000008c0| 75 72 65 20 69 66 20 6e | 65 65 64 65 64 2e 0d 09 |ure if n|eeded...|
|000008d0| 54 68 65 73 65 20 70 72 | 6f 63 65 64 75 72 65 73 |These pr|ocedures|
|000008e0| 20 61 72 65 3a 0d 0d 09 | 46 61 69 6c 4e 49 4c 20 | are:...|FailNIL |
|000008f0| 09 09 43 61 6c 6c 73 20 | 46 61 69 6c 75 72 65 20 |..Calls |Failure |
|00000900| 69 66 20 69 74 73 20 70 | 61 72 61 6d 65 74 65 72 |if its p|arameter|
|00000910| 20 69 73 20 4e 49 4c 2e | 0d 09 46 61 69 6c 4f 53 | is NIL.|..FailOS|
|00000920| 45 72 72 09 09 43 61 6c | 6c 73 20 46 61 69 6c 75 |Err..Cal|ls Failu|
|00000930| 72 65 20 69 66 20 69 74 | 73 20 70 61 72 61 6d 65 |re if it|s parame|
|00000940| 74 65 72 20 69 73 20 6e | 6f 74 20 6e 6f 45 72 72 |ter is n|ot noErr|
|00000950| 2e 0d 09 46 61 69 6c 4d | 65 6d 45 72 72 6f 72 09 |...FailM|emError.|
|00000960| 43 61 6c 6c 73 20 46 61 | 69 6c 75 72 65 20 69 66 |Calls Fa|ilure if|
|00000970| 20 4d 65 6d 45 72 72 6f | 72 20 72 65 74 75 72 6e | MemErro|r return|
|00000980| 73 20 6f 74 68 65 72 20 | 74 68 61 6e 20 6e 6f 45 |s other |than noE|
|00000990| 72 72 2e 0d 09 46 61 69 | 6c 52 65 73 45 72 72 6f |rr...Fai|lResErro|
|000009a0| 72 09 43 61 6c 6c 73 20 | 46 61 69 6c 75 72 65 20 |r.Calls |Failure |
|000009b0| 69 66 20 52 65 73 45 72 | 72 6f 72 20 72 65 74 75 |if ResEr|ror retu|
|000009c0| 72 6e 73 20 6f 74 68 65 | 72 20 74 68 61 6e 20 6e |rns othe|r than n|
|000009d0| 6f 45 72 72 2e 0d 0d 09 | 57 68 65 6e 20 46 61 69 |oErr....|When Fai|
|000009e0| 6c 75 72 65 20 69 73 20 | 63 61 6c 6c 65 64 2c 20 |lure is |called, |
|000009f0| 65 78 65 63 75 74 69 6f | 6e 20 6f 66 20 74 68 65 |executio|n of the|
|00000a00| 20 72 6f 75 74 69 6e 65 | 20 74 68 61 74 20 63 61 | routine| that ca|
|00000a10| 6c 6c 65 64 20 46 61 69 | 6c 75 72 65 20 69 73 0d |lled Fai|lure is.|
|00000a20| 09 74 65 72 6d 69 6e 61 | 74 65 64 20 61 6e 64 20 |.termina|ted and |
|00000a30| 74 68 65 20 65 78 63 65 | 70 74 69 6f 6e 20 68 61 |the exce|ption ha|
|00000a40| 6e 64 6c 65 72 20 61 74 | 20 74 68 65 20 74 6f 70 |ndler at| the top|
|00000a50| 20 6f 66 20 74 68 65 20 | 73 74 61 63 6b 20 69 73 | of the |stack is|
|00000a60| 20 70 6f 70 70 65 64 2e | 0d 09 46 6f 72 20 65 61 | popped.|..For ea|
|00000a70| 63 68 20 72 6f 75 74 69 | 6e 65 20 74 68 61 74 20 |ch routi|ne that |
|00000a80| 77 61 73 20 63 61 6c 6c | 65 64 20 61 66 74 65 72 |was call|ed after|
|00000a90| 20 74 68 65 20 68 61 6e | 64 6c 65 72 20 77 61 73 | the han|dler was|
|00000aa0| 20 70 6f 73 74 65 64 0d | 09 74 6f 20 74 68 65 20 | posted.|.to the |
|00000ab0| 73 74 61 63 6b 2c 20 65 | 78 65 63 75 74 69 6f 6e |stack, e|xecution|
|00000ac0| 20 69 73 20 74 65 72 6d | 69 6e 61 74 65 64 20 61 | is term|inated a|
|00000ad0| 73 20 74 68 6f 75 67 68 | 20 66 72 6f 6d 20 61 6e |s though| from an|
|00000ae0| 20 45 58 49 54 20 73 74 | 61 74 65 6d 65 6e 74 2e | EXIT st|atement.|
|00000af0| 0d 09 54 68 65 6e 20 74 | 68 65 20 65 78 63 65 70 |..Then t|he excep|
|00000b00| 74 69 6f 6e 20 68 61 6e | 64 6c 65 72 20 69 73 20 |tion han|dler is |
|00000b10| 63 61 6c 6c 65 64 2e 09 | 49 74 20 67 65 6e 65 72 |called..|It gener|
|00000b20| 61 6c 6c 79 20 63 6c 65 | 61 6e 73 20 75 70 20 66 |ally cle|ans up f|
|00000b30| 6f 72 20 74 68 65 0d 09 | 72 6f 75 74 69 6e 65 20 |or the..|routine |
|00000b40| 69 6e 20 77 68 69 63 68 | 20 69 74 20 69 73 20 6e |in which| it is n|
|00000b50| 65 73 74 65 64 2e 09 55 | 70 6f 6e 20 63 6f 6d 70 |ested..U|pon comp|
|00000b60| 6c 65 74 69 6f 6e 20 74 | 68 65 20 6e 65 78 74 20 |letion t|he next |
|00000b70| 65 78 63 65 70 74 69 6f | 6e 20 68 61 6e 64 6c 65 |exceptio|n handle|
|00000b80| 72 0d 09 69 73 20 70 6f | 70 70 65 64 20 66 72 6f |r..is po|pped fro|
|00000b90| 6d 20 74 68 65 20 73 74 | 61 63 6b 2c 20 72 65 70 |m the st|ack, rep|
|00000ba0| 65 61 74 69 6e 67 20 74 | 68 65 20 70 72 6f 63 65 |eating t|he proce|
|00000bb0| 73 73 2e 0d 0d 09 54 68 | 65 20 65 72 72 6f 72 20 |ss....Th|e error |
|00000bc0| 63 61 75 73 69 6e 67 20 | 74 68 65 20 66 61 69 6c |causing |the fail|
|00000bd0| 75 72 65 2c 20 61 6e 64 | 20 61 20 6d 65 73 73 61 |ure, and| a messa|
|00000be0| 67 65 20 63 6f 64 65 20 | 69 73 20 70 61 73 73 65 |ge code |is passe|
|00000bf0| 64 20 74 6f 20 46 61 69 | 6c 75 72 65 2e 0d 09 46 |d to Fai|lure...F|
|00000c00| 6f 72 20 4d 61 63 41 70 | 70 2c 20 74 68 65 20 6c |or MacAp|p, the l|
|00000c10| 61 73 74 20 65 78 63 65 | 70 74 69 6f 6e 20 68 61 |ast exce|ption ha|
|00000c20| 6e 64 6c 65 72 20 6f 6e | 20 74 68 65 20 73 74 61 |ndler on| the sta|
|00000c30| 63 6b 20 69 73 20 74 68 | 65 20 6f 6e 65 20 69 6e |ck is th|e one in|
|00000c40| 0d 09 54 41 70 70 6c 69 | 63 61 74 69 6f 6e 2e 50 |..TAppli|cation.P|
|00000c50| 6f 6c 6c 45 76 65 6e 74 | 2e 20 20 49 74 20 63 61 |ollEvent|. It ca|
|00000c60| 6c 6c 73 20 54 41 70 70 | 6c 69 63 61 74 69 6f 6e |lls TApp|lication|
|00000c70| 2e 53 68 6f 77 45 72 72 | 6f 72 2c 20 77 68 69 63 |.ShowErr|or, whic|
|00000c80| 68 20 63 61 6c 6c 73 0d | 09 45 72 72 6f 72 41 6c |h calls.|.ErrorAl|
|00000c90| 65 72 74 2c 20 77 68 69 | 63 68 20 64 65 63 6f 64 |ert, whi|ch decod|
|00000ca0| 65 73 20 74 68 65 20 6d | 65 73 73 61 67 65 20 61 |es the m|essage a|
|00000cb0| 6e 64 20 64 69 73 70 6c | 61 79 73 20 61 6e 20 61 |nd displ|ays an a|
|00000cc0| 6c 65 72 74 2e 20 20 59 | 6f 75 20 65 78 63 65 70 |lert. Y|ou excep|
|00000cd0| 74 69 6f 6e 0d 09 68 61 | 6e 64 6c 65 72 73 20 6d |tion..ha|ndlers m|
|00000ce0| 61 79 20 73 65 74 20 74 | 68 65 20 6d 65 73 73 61 |ay set t|he messa|
|00000cf0| 67 65 20 63 6f 64 65 20 | 74 6f 20 6f 6e 65 20 6d |ge code |to one m|
|00000d00| 6f 72 65 20 73 70 65 63 | 69 66 69 63 20 74 6f 20 |ore spec|ific to |
|00000d10| 79 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |your app|lication|
|00000d20| 0d 09 62 79 20 63 61 6c | 6c 69 6e 67 20 46 61 69 |..by cal|ling Fai|
|00000d30| 6c 4e 65 77 4d 65 73 73 | 61 67 65 20 61 74 20 74 |lNewMess|age at t|
|00000d40| 68 65 20 65 6e 64 20 6f | 66 20 79 6f 75 72 20 65 |he end o|f your e|
|00000d50| 78 63 65 70 74 69 6f 6e | 20 68 61 6e 64 6c 65 72 |xception| handler|
|00000d60| 2e 0d 09 46 61 69 6c 4e | 65 77 4d 65 73 73 61 67 |...FailN|ewMessag|
|00000d70| 65 20 63 68 61 6e 67 65 | 73 20 74 68 65 20 6d 65 |e change|s the me|
|00000d80| 73 73 61 67 65 20 6f 6e | 6c 79 20 69 66 20 74 68 |ssage on|ly if th|
|00000d90| 65 20 63 75 72 72 65 6e | 74 20 6f 6e 65 20 69 73 |e curren|t one is|
|00000da0| 20 6e 6f 6e 2d 7a 65 72 | 6f 2e 0d 09 54 68 69 73 | non-zer|o...This|
|00000db0| 20 68 61 73 20 74 68 65 | 20 65 66 66 65 63 74 20 | has the| effect |
|00000dc0| 6f 66 20 61 6c 6c 6f 77 | 69 6e 67 20 74 68 6f 73 |of allow|ing thos|
|00000dd0| 65 20 65 78 63 65 70 74 | 69 6f 6e 20 68 61 6e 64 |e except|ion hand|
|00000de0| 6c 65 72 73 20 63 6c 6f | 73 65 73 74 20 74 6f 20 |lers clo|sest to |
|00000df0| 74 68 65 0d 09 73 6f 75 | 72 63 65 20 6f 66 20 74 |the..sou|rce of t|
|00000e00| 68 65 20 65 72 72 6f 72 | 20 74 6f 20 73 65 74 20 |he error| to set |
|00000e10| 74 68 65 20 6d 65 73 73 | 61 67 65 2e 0d 0d 09 4f |the mess|age....O|
|00000e20| 6e 65 20 6c 61 73 74 20 | 6e 6f 74 65 20 61 62 6f |ne last |note abo|
|00000e30| 75 74 20 65 78 63 65 70 | 74 69 6f 6e 20 68 61 6e |ut excep|tion han|
|00000e40| 64 6c 65 72 73 3a 20 20 | 49 74 20 69 73 20 70 6f |dlers: |It is po|
|00000e50| 73 73 69 62 6c 65 20 66 | 6f 72 20 61 6e 20 65 78 |ssible f|or an ex|
|00000e60| 63 65 70 74 69 6f 6e 0d | 09 68 61 6e 64 6c 65 72 |ception.|.handler|
|00000e70| 20 74 6f 20 74 65 72 6d | 69 6e 61 74 65 20 65 78 | to term|inate ex|
|00000e80| 63 65 70 74 69 6f 6e 20 | 70 72 6f 63 65 73 73 69 |ception |processi|
|00000e90| 6e 67 20 62 79 20 75 73 | 69 6e 67 20 61 20 6e 6f |ng by us|ing a no|
|00000ea0| 6e 2d 6c 6f 63 61 6c 20 | 47 4f 54 4f 20 74 6f 0d |n-local |GOTO to.|
|00000eb0| 09 6a 75 6d 70 20 62 61 | 63 6b 20 69 6e 74 6f 20 |.jump ba|ck into |
|00000ec0| 74 68 65 20 72 6f 75 74 | 69 6e 65 20 69 6e 20 77 |the rout|ine in w|
|00000ed0| 68 69 63 68 20 74 68 65 | 20 65 78 63 65 70 74 69 |hich the| excepti|
|00000ee0| 6f 6e 20 68 61 6e 64 6c | 65 72 20 69 73 20 6e 65 |on handl|er is ne|
|00000ef0| 73 74 65 64 2e 20 20 54 | 68 69 73 0d 09 69 73 20 |sted. T|his..is |
|00000f00| 68 6f 77 20 4d 61 63 41 | 70 70 20 6b 65 65 70 73 |how MacA|pp keeps|
|00000f10| 20 74 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | the app|lication|
|00000f20| 20 72 75 6e 6e 69 6e 67 | 20 77 68 65 6e 20 61 20 | running| when a |
|00000f30| 66 61 69 6c 75 72 65 20 | 6f 63 63 75 72 73 2e 09 |failure |occurs..|
|00000f40| 54 68 65 0d 09 6c 61 73 | 74 20 65 78 63 65 70 74 |The..las|t except|
|00000f50| 69 6f 6e 20 68 61 6e 64 | 6c 65 72 20 6f 6e 20 74 |ion hand|ler on t|
|00000f60| 68 65 20 73 74 61 63 6b | 2c 20 69 6e 20 54 41 70 |he stack|, in TAp|
|00000f70| 70 6c 69 63 61 74 69 6f | 6e 2e 50 6f 6c 6c 45 76 |plicatio|n.PollEv|
|00000f80| 65 6e 74 2c 20 75 73 65 | 73 20 61 0d 09 47 4f 54 |ent, use|s a..GOT|
|00000f90| 4f 20 74 6f 20 63 6f 6e | 74 69 6e 75 65 20 65 76 |O to con|tinue ev|
|00000fa0| 65 6e 74 20 70 72 6f 63 | 65 73 73 69 6e 67 2e 0d |ent proc|essing..|
|00000fb0| 0d 09 54 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |..The fo|llowing |
|00000fc0| 69 73 20 61 6e 20 65 78 | 61 6d 70 6c 65 20 73 68 |is an ex|ample sh|
|00000fd0| 6f 77 69 6e 67 20 74 68 | 65 20 75 73 65 20 6f 66 |owing th|e use of|
|00000fe0| 20 65 78 63 65 70 74 69 | 6f 6e 20 68 61 6e 64 6c | excepti|on handl|
|00000ff0| 65 72 73 2e 0d 09 54 68 | 65 20 52 65 61 64 54 68 |ers...Th|e ReadTh|
|00001000| 65 46 69 6c 65 20 70 72 | 6f 63 65 64 75 72 65 20 |eFile pr|ocedure |
|00001010| 72 65 61 64 73 20 74 68 | 65 20 63 6f 6e 74 65 6e |reads th|e conten|
|00001020| 74 73 20 6f 66 20 61 20 | 66 69 6c 65 2c 20 73 69 |ts of a |file, si|
|00001030| 67 6e 61 6c 6c 69 6e 67 | 0d 09 66 61 69 6c 75 72 |gnalling|..failur|
|00001040| 65 20 69 66 20 74 68 65 | 20 6f 70 65 6e 2c 20 72 |e if the| open, r|
|00001050| 65 61 64 2c 20 6f 72 20 | 63 6c 6f 73 65 20 72 65 |ead, or |close re|
|00001060| 74 75 72 6e 73 20 61 6e | 20 65 72 72 6f 72 2e 0d |turns an| error..|
|00001070| 0d 09 50 52 4f 43 45 44 | 55 52 45 20 52 65 61 64 |..PROCED|URE Read|
|00001080| 54 68 65 46 69 6c 65 20 | 28 66 69 6c 65 4e 61 6d |TheFile |(fileNam|
|00001090| 65 3a 20 53 74 72 32 35 | 35 3b 20 76 6f 6c 52 65 |e: Str25|5; volRe|
|000010a0| 66 4e 75 6d 3a 20 49 4e | 54 45 47 45 52 3b 0d 09 |fNum: IN|TEGER;..|
|000010b0| 09 09 09 09 09 09 56 41 | 52 20 63 6f 6e 74 65 6e |......VA|R conten|
|000010c0| 74 73 3a 20 43 6f 6e 74 | 65 6e 74 73 52 65 63 6f |ts: Cont|entsReco|
|000010d0| 72 64 29 3b 0d 09 56 41 | 52 0d 09 09 66 69 3a 20 |rd);..VA|R...fi: |
|000010e0| 09 09 46 61 69 6c 49 6e | 66 6f 3b 0d 09 09 63 6f |..FailIn|fo;...co|
|000010f0| 75 6e 74 3a 09 09 4c 4f | 4e 47 49 4e 54 3b 0d 0d |unt:..LO|NGINT;..|
|00001100| 09 09 50 52 4f 43 45 44 | 55 52 45 20 45 78 63 65 |..PROCED|URE Exce|
|00001110| 70 74 69 6f 6e 48 61 6e | 64 6c 65 72 20 28 65 72 |ptionHan|dler (er|
|00001120| 72 6f 72 3a 20 4f 53 45 | 72 72 3b 20 6d 65 73 73 |ror: OSE|rr; mess|
|00001130| 61 67 65 3a 20 4c 4f 4e | 47 49 4e 54 29 3b 0d 09 |age: LON|GINT);..|
|00001140| 09 56 41 52 0d 09 09 09 | 65 72 72 3a 09 4f 53 45 |.VAR....|err:.OSE|
|00001150| 72 72 3b 0d 09 09 42 45 | 47 49 4e 0d 09 09 09 65 |rr;...BE|GIN....e|
|00001160| 72 72 20 3a 3d 20 46 53 | 43 6c 6f 73 65 28 66 69 |rr := FS|Close(fi|
|00001170| 6c 65 52 65 66 4e 75 6d | 29 3b 20 09 7b 20 4d 61 |leRefNum|); .{ Ma|
|00001180| 6b 65 20 73 75 72 65 20 | 74 68 65 20 66 69 6c 65 |ke sure |the file|
|00001190| 20 69 73 20 63 6c 6f 73 | 65 64 20 7d 0d 09 09 09 | is clos|ed }....|
|000011a0| 7b 20 50 61 73 73 20 6f | 6e 20 6d 79 20 6f 77 6e |{ Pass o|n my own|
|000011b0| 20 65 72 72 6f 72 20 6d | 65 73 73 61 67 65 2e 2e | error m|essage..|
|000011c0| 2e 20 7d 0d 09 09 09 46 | 61 69 6c 4e 65 77 4d 65 |. }....F|ailNewMe|
|000011d0| 73 73 61 67 65 28 65 72 | 72 6f 72 2c 20 6d 65 73 |ssage(er|ror, mes|
|000011e0| 73 61 67 65 2c 20 6b 4d | 79 45 72 72 6f 72 4d 65 |sage, kM|yErrorMe|
|000011f0| 73 73 61 67 65 29 3b 0d | 09 09 45 4e 44 3b 0d 0d |ssage);.|..END;..|
|00001200| 09 42 45 47 49 4e 0d 09 | 09 7b 20 49 66 20 46 53 |.BEGIN..|.{ If FS|
|00001210| 4f 70 65 6e 20 66 61 69 | 6c 73 20 77 65 20 64 6f |Open fai|ls we do|
|00001220| 6e 27 74 20 6e 65 65 64 | 20 74 6f 20 64 6f 20 61 |n't need| to do a|
|00001230| 6e 79 20 66 61 69 6c 75 | 72 65 20 68 61 6e 64 6c |ny failu|re handl|
|00001240| 69 6e 67 2c 0d 09 09 09 | 74 68 6f 75 67 68 20 74 |ing,....|though t|
|00001250| 68 65 20 67 75 79 20 74 | 68 61 74 20 63 61 6c 6c |he guy t|hat call|
|00001260| 65 64 20 75 73 20 70 72 | 6f 62 61 62 6c 79 20 77 |ed us pr|obably w|
|00001270| 69 6c 6c 2e 20 7d 0d 09 | 09 46 61 69 6c 4f 53 45 |ill. }..|.FailOSE|
|00001280| 72 72 28 46 53 4f 70 65 | 6e 28 66 69 6c 65 4e 61 |rr(FSOpe|n(fileNa|
|00001290| 6d 65 2c 20 76 6f 6c 52 | 65 66 4e 75 6d 2c 20 66 |me, volR|efNum, f|
|000012a0| 69 6c 65 52 65 66 4e 75 | 6d 29 29 3b 0d 0d 09 09 |ileRefNu|m));....|
|000012b0| 7b 20 4e 6f 77 20 74 68 | 61 74 20 74 68 65 20 66 |{ Now th|at the f|
|000012c0| 69 6c 65 20 69 73 20 6f | 70 65 6e 2c 20 69 66 20 |ile is o|pen, if |
|000012d0| 74 68 65 20 72 65 61 64 | 20 66 61 69 6c 73 20 77 |the read| fails w|
|000012e0| 65 20 6d 75 73 74 20 6d | 61 6b 65 0d 09 09 09 73 |e must m|ake....s|
|000012f0| 75 72 65 20 74 6f 20 63 | 6c 6f 73 65 20 74 68 65 |ure to c|lose the|
|00001300| 20 66 69 6c 65 2e 20 7d | 0d 09 09 43 61 74 63 68 | file. }|...Catch|
|00001310| 46 61 69 6c 75 72 65 73 | 28 66 69 2c 20 45 78 63 |Failures|(fi, Exc|
|00001320| 65 70 74 69 6f 6e 68 61 | 6e 64 6c 65 72 29 3b 0d |eptionha|ndler);.|
|00001330| 0d 09 09 63 6f 75 6e 74 | 20 3a 3d 20 53 49 5a 45 |...count| := SIZE|
|00001340| 4f 46 28 43 6f 6e 74 65 | 6e 74 73 52 65 63 6f 72 |OF(Conte|ntsRecor|
|00001350| 64 29 3b 0d 09 09 46 61 | 69 6c 4f 53 45 72 72 28 |d);...Fa|ilOSErr(|
|00001360| 46 53 52 65 61 64 28 66 | 69 6c 65 52 65 66 4e 75 |FSRead(f|ileRefNu|
|00001370| 6d 2c 20 63 6f 75 6e 74 | 2c 20 40 63 6f 6e 74 65 |m, count|, @conte|
|00001380| 6e 74 73 29 29 3b 0d 0d | 09 09 7b 20 54 68 65 20 |nts));..|..{ The |
|00001390| 66 69 6c 65 27 73 20 62 | 65 65 6e 20 72 65 61 64 |file's b|een read|
|000013a0| 20 73 6f 20 77 65 20 64 | 6f 6e 27 74 20 6e 65 65 | so we d|on't nee|
|000013b0| 64 20 6f 75 72 20 65 78 | 63 65 70 74 69 6f 6e 20 |d our ex|ception |
|000013c0| 68 61 6e 64 6c 65 72 0d | 09 09 09 61 6e 79 6d 6f |handler.|...anymo|
|000013d0| 72 65 2e 20 7d 0d 09 09 | 53 75 63 63 65 73 73 28 |re. }...|Success(|
|000013e0| 66 69 29 3b 0d 0d 09 09 | 7b 20 41 67 61 69 6e 2c |fi);....|{ Again,|
|000013f0| 20 74 68 65 20 67 75 79 | 20 74 68 61 74 20 63 61 | the guy| that ca|
|00001400| 6c 6c 65 64 20 75 73 20 | 77 69 6c 6c 20 68 61 76 |lled us |will hav|
|00001410| 65 20 74 6f 20 64 65 61 | 6c 20 77 69 74 68 20 74 |e to dea|l with t|
|00001420| 68 69 73 2e 20 7d 0d 09 | 09 46 61 69 6c 4f 53 45 |his. }..|.FailOSE|
|00001430| 72 72 28 46 53 43 6c 6f | 73 65 28 66 69 6c 65 52 |rr(FSClo|se(fileR|
|00001440| 65 66 4e 75 6d 29 29 3b | 0d 09 45 4e 44 3b 0d 2a |efNum));|..END;.*|
|00001450| 29 0d 7b 5b 66 2b 5d 7d | 0d 0d 55 4e 49 54 20 55 |).{[f+]}|..UNIT U|
|00001460| 46 61 69 6c 75 72 65 3b | 0d 0d 09 49 4e 54 45 52 |Failure;|...INTER|
|00001470| 46 41 43 45 0d 0d 09 09 | 55 53 45 53 20 54 79 70 |FACE....|USES Typ|
|00001480| 65 73 2c 20 4d 65 6d 6f | 72 79 2c 20 52 65 73 6f |es, Memo|ry, Reso|
|00001490| 75 72 63 65 73 2c 20 45 | 72 72 6f 72 73 3b 0d 0d |urces, E|rrors;..|
|000014a0| 09 09 43 4f 4e 53 54 0d | 09 09 09 6d 69 6e 45 72 |..CONST.|...minEr|
|000014b0| 72 09 09 09 09 3d 20 2d | 20 33 32 37 36 38 3b 09 |r....= -| 32768;.|
|000014c0| 09 09 09 7b 20 4c 6f 77 | 20 65 72 72 6f 72 20 6e |...{ Low| error n|
|000014d0| 75 6d 62 65 72 20 7d 0d | 09 09 09 6d 61 78 45 72 |umber }.|...maxEr|
|000014e0| 72 09 09 09 09 3d 20 33 | 32 37 36 37 3b 09 09 09 |r....= 3|2767;...|
|000014f0| 09 7b 20 48 69 67 68 20 | 65 72 72 6f 72 20 6e 75 |.{ High |error nu|
|00001500| 6d 62 65 72 20 7d 0d 0d | 09 09 54 59 50 45 0d 09 |mber }..|..TYPE..|
|00001510| 09 09 7b 20 75 73 65 64 | 20 66 6f 72 20 74 68 65 |..{ used| for the|
|00001520| 20 65 78 63 65 70 74 69 | 6f 6e 20 68 61 6e 64 6c | excepti|on handl|
|00001530| 69 6e 67 20 6d 65 63 68 | 61 6e 69 73 6d 20 7d 0d |ing mech|anism }.|
|00001540| 09 09 09 46 61 69 6c 49 | 6e 66 6f 50 74 72 20 09 |...FailI|nfoPtr .|
|00001550| 09 3d 20 5e 46 61 69 6c | 49 6e 66 6f 3b 09 09 09 |.= ^Fail|Info;...|
|00001560| 7b 20 50 72 65 66 65 72 | 72 65 64 2e 20 54 68 65 |{ Prefer|red. The|
|00001570| 20 70 6f 69 6e 74 65 72 | 0d 09 09 09 09 09 09 09 | pointer|........|
|00001580| 09 09 09 09 09 09 09 74 | 79 70 65 20 5f 4d 55 53 |.......t|ype _MUS|
|00001590| 54 5f 20 62 65 20 64 65 | 63 6c 61 72 65 64 20 66 |T_ be de|clared f|
|000015a0| 69 72 73 74 20 73 69 6e | 63 65 20 74 68 65 20 72 |irst sin|ce the r|
|000015b0| 65 63 6f 72 64 0d 09 09 | 09 09 09 09 09 09 09 09 |ecord...|........|
|000015c0| 09 09 09 09 69 73 20 73 | 65 6c 66 20 72 65 66 65 |....is s|elf refe|
|000015d0| 72 65 6e 74 69 61 6c 20 | 7d 0d 09 09 09 46 61 69 |rential |}....Fai|
|000015e0| 6c 49 6e 66 6f 09 09 09 | 3d 20 52 45 43 4f 52 44 |lInfo...|= RECORD|
|000015f0| 0d 09 09 09 09 72 65 67 | 73 3a 09 09 09 09 41 52 |.....reg|s:....AR|
|00001600| 52 41 59 20 5b 31 2e 2e | 31 31 5d 20 4f 46 20 4c |RAY [1..|11] OF L|
|00001610| 4f 4e 47 49 4e 54 3b 20 | 7b 20 54 68 65 20 73 61 |ONGINT; |{ The sa|
|00001620| 76 65 64 20 72 65 67 69 | 73 74 65 72 73 20 61 73 |ved regi|sters as|
|00001630| 20 6f 66 20 74 68 65 0d | 09 09 09 09 09 09 09 09 | of the.|........|
|00001640| 09 09 09 09 09 09 09 20 | 20 20 43 61 74 63 68 46 |....... | CatchF|
|00001650| 61 69 6c 75 72 65 73 2e | 20 7d 0d 09 09 09 09 65 |ailures.| }.....e|
|00001660| 72 72 6f 72 3a 09 09 09 | 09 49 4e 54 45 47 45 52 |rror:...|.INTEGER|
|00001670| 3b 09 09 09 7b 20 54 68 | 65 20 65 72 72 6f 72 20 |;...{ Th|e error |
|00001680| 63 6f 6e 64 69 74 69 6f | 6e 20 70 61 73 73 65 64 |conditio|n passed|
|00001690| 20 74 6f 20 46 61 69 6c | 75 72 65 2e 20 7d 0d 09 | to Fail|ure. }..|
|000016a0| 09 09 09 6d 65 73 73 61 | 67 65 3a 09 09 09 4c 4f |...messa|ge:...LO|
|000016b0| 4e 47 49 4e 54 3b 09 09 | 09 7b 20 54 68 65 20 6d |NGINT;..|.{ The m|
|000016c0| 65 73 73 61 67 65 20 77 | 68 69 63 68 20 61 63 63 |essage w|hich acc|
|000016d0| 6f 6d 70 61 6e 69 65 64 | 20 74 68 65 20 46 61 69 |ompanied| the Fai|
|000016e0| 6c 75 72 65 2e 0d 09 09 | 09 09 09 09 09 09 09 09 |lure....|........|
|000016f0| 09 09 09 09 20 7d 0d 09 | 09 09 09 66 61 69 6c 41 |.... }..|...failA|
|00001700| 36 3a 20 09 09 09 4c 4f | 4e 47 49 4e 54 3b 09 09 |6: ...LO|NGINT;..|
|00001710| 09 7b 20 41 36 20 6f 66 | 20 74 68 65 20 63 61 6c |.{ A6 of| the cal|
|00001720| 6c 65 72 20 74 6f 20 43 | 61 74 63 68 46 61 69 6c |ler to C|atchFail|
|00001730| 75 72 65 73 2e 20 7d 0d | 09 09 09 09 66 61 69 6c |ures. }.|....fail|
|00001740| 50 43 3a 20 09 09 09 4c | 4f 4e 47 49 4e 54 3b 09 |PC: ...L|ONGINT;.|
|00001750| 09 09 7b 20 41 64 64 72 | 65 73 73 20 6f 66 20 66 |..{ Addr|ess of f|
|00001760| 61 69 6c 75 72 65 20 68 | 61 6e 64 6c 65 72 20 72 |ailure h|andler r|
|00001770| 6f 75 74 69 6e 65 2e 20 | 7d 0d 09 09 09 09 6e 65 |outine. |}.....ne|
|00001780| 78 74 49 6e 66 6f 3a 09 | 09 09 46 61 69 6c 49 6e |xtInfo:.|..FailIn|
|00001790| 66 6f 50 74 72 3b 09 09 | 7b 20 4e 65 78 74 20 69 |foPtr;..|{ Next i|
|000017a0| 6e 20 73 74 61 63 6b 2e | 20 7d 0d 09 09 09 09 45 |n stack.| }.....E|
|000017b0| 4e 44 3b 0d 09 09 09 50 | 46 61 69 6c 49 6e 66 6f |ND;....P|FailInfo|
|000017c0| 09 09 09 3d 20 46 61 69 | 6c 49 6e 66 6f 50 74 72 |...= Fai|lInfoPtr|
|000017d0| 3b 09 09 09 7b 20 4c 65 | 66 74 20 69 6e 20 66 6f |;...{ Le|ft in fo|
|000017e0| 72 20 63 6f 6d 70 61 74 | 69 62 69 6c 69 74 79 20 |r compat|ibility |
|000017f0| 28 32 2e 30 29 20 7d 0d | 0d 09 09 56 41 52 0d 09 |(2.0) }.|...VAR..|
|00001800| 09 09 7b 24 50 75 73 68 | 7d 20 7b 24 4a 2b 7d 09 |..{$Push|} {$J+}.|
|00001810| 09 09 09 09 09 09 09 7b | 20 44 65 66 69 6e 65 64 |.......{| Defined|
|00001820| 20 65 78 74 65 72 6e 61 | 6c 6c 79 20 7d 0d 09 09 | externa|lly }...|
|00001830| 09 67 54 6f 70 48 61 6e | 64 6c 65 72 3a 09 09 46 |.gTopHan|dler:..F|
|00001840| 61 69 6c 49 6e 66 6f 50 | 74 72 3b 09 09 09 7b 20 |ailInfoP|tr;...{ |
|00001850| 4d 6f 73 74 20 72 65 63 | 65 6e 74 20 6c 69 6e 6b |Most rec|ent link|
|00001860| 20 69 6e 20 6c 69 6e 6b | 65 64 20 6c 69 73 74 20 | in link|ed list |
|00001870| 6f 66 20 66 61 69 6c 75 | 72 65 0d 09 09 09 09 09 |of failu|re......|
|00001880| 09 09 09 09 09 09 09 09 | 09 20 68 61 6e 64 6c 65 |........|. handle|
|00001890| 72 73 2e 20 53 65 74 20 | 74 6f 20 6e 69 6c 20 62 |rs. Set |to nil b|
|000018a0| 79 20 61 20 63 6f 6e 73 | 74 61 6e 74 20 69 6e 0d |y a cons|tant in.|
|000018b0| 09 09 09 09 09 09 09 09 | 09 09 09 09 09 09 20 55 |........|...... U|
|000018c0| 46 61 69 6c 75 72 65 2e | 61 20 73 6f 20 74 68 61 |Failure.|a so tha|
|000018d0| 74 20 46 61 69 6c 75 72 | 65 20 68 61 6e 64 6c 69 |t Failur|e handli|
|000018e0| 6e 67 20 6e 65 76 65 72 | 0d 09 09 09 09 09 09 09 |ng never|........|
|000018f0| 09 09 09 09 09 09 09 20 | 6e 65 65 64 73 20 74 6f |....... |needs to|
|00001900| 20 62 65 20 69 6e 69 74 | 69 61 6c 69 7a 65 64 2e | be init|ialized.|
|00001910| 20 7d 0d 09 09 09 7b 24 | 50 6f 70 7d 0d 0d 09 09 | }....{$|Pop}....|
|00001920| 50 52 4f 43 45 44 55 52 | 45 20 41 73 73 65 72 74 |PROCEDUR|E Assert|
|00001930| 69 6f 6e 28 63 6f 6e 64 | 69 74 69 6f 6e 3a 20 42 |ion(cond|ition: B|
|00001940| 4f 4f 4c 45 41 4e 3b 0d | 09 09 09 09 09 09 09 64 |OOLEAN;.|.......d|
|00001950| 65 73 63 72 69 70 74 69 | 6f 6e 3a 20 53 74 72 69 |escripti|on: Stri|
|00001960| 6e 67 50 74 72 29 3b 0d | 09 09 7b 20 41 73 73 65 |ngPtr);.|..{ Asse|
|00001970| 72 74 73 20 61 20 63 6f | 6e 64 69 74 69 6f 6e 2e |rts a co|ndition.|
|00001980| 49 66 20 63 6f 6e 64 69 | 74 69 6f 6e 20 69 73 20 |If condi|tion is |
|00001990| 46 41 4c 53 45 20 3a 20 | 49 46 20 64 65 62 75 67 |FALSE : |IF debug|
|000019a0| 67 69 6e 67 20 3a 20 70 | 72 69 6e 74 73 20 64 65 |ging : p|rints de|
|000019b0| 73 63 72 69 70 74 69 6f | 6e 20 61 6e 64 20 73 74 |scriptio|n and st|
|000019c0| 6f 70 73 20 69 6e 0d 09 | 09 44 65 62 75 67 67 65 |ops in..|.Debugge|
|000019d0| 72 20 45 4c 53 45 20 3a | 20 53 69 67 6e 61 6c 73 |r ELSE :| Signals|
|000019e0| 20 61 20 67 65 6e 65 72 | 61 6c 20 66 61 69 6c 75 | a gener|al failu|
|000019f0| 72 65 2e 20 7d 0d 0d 09 | 09 46 55 4e 43 54 49 4f |re. }...|.FUNCTIO|
|00001a00| 4e 20 42 75 69 6c 64 4d | 65 73 73 61 67 65 28 6c |N BuildM|essage(l|
|00001a10| 6f 77 57 6f 72 64 2c 20 | 68 69 67 68 57 6f 72 64 |owWord, |highWord|
|00001a20| 3a 20 49 4e 54 45 47 45 | 52 29 3a 20 4c 4f 4e 47 |: INTEGE|R): LONG|
|00001a30| 49 4e 54 3b 0d 09 09 09 | 49 4e 4c 49 4e 45 20 24 |INT;....|INLINE $|
|00001a40| 32 45 39 46 3b 09 09 09 | 09 09 09 09 09 7b 20 4d |2E9F;...|.....{ M|
|00001a50| 4f 56 45 2e 4c 20 28 41 | 37 29 2b 2c 28 41 37 29 |OVE.L (A|7)+,(A7)|
|00001a60| 20 7d 0d 09 09 7b 20 54 | 61 6b 65 73 20 74 68 65 | }...{ T|akes the|
|00001a70| 20 32 20 69 6e 74 65 67 | 65 72 73 20 61 6e 64 20 | 2 integ|ers and |
|00001a80| 63 6f 6d 62 69 6e 65 73 | 20 74 68 65 6d 20 69 6e |combines| them in|
|00001a90| 74 6f 20 61 20 4c 4f 4e | 47 49 4e 54 20 66 61 69 |to a LON|GINT fai|
|00001aa0| 6c 75 72 65 20 6d 65 73 | 73 61 67 65 2e 20 20 4e |lure mes|sage. N|
|00001ab0| 6f 74 65 20 74 68 61 74 | 20 74 68 65 0d 09 09 6c |ote that| the...l|
|00001ac0| 6f 77 2d 6f 72 64 65 72 | 20 77 6f 72 64 20 69 73 |ow-order| word is|
|00001ad0| 20 74 68 65 20 66 69 72 | 73 74 20 70 61 72 61 6d | the fir|st param|
|00001ae0| 65 74 65 72 2e 20 7d 0d | 0d 09 09 50 52 4f 43 45 |eter. }.|...PROCE|
|00001af0| 44 55 52 45 20 43 61 74 | 63 68 46 61 69 6c 75 72 |DURE Cat|chFailur|
|00001b00| 65 73 28 56 41 52 20 66 | 69 3a 20 46 61 69 6c 49 |es(VAR f|i: FailI|
|00001b10| 6e 66 6f 3b 0d 09 09 09 | 09 09 09 09 09 50 52 4f |nfo;....|.....PRO|
|00001b20| 43 45 44 55 52 45 20 48 | 61 6e 64 6c 65 72 28 65 |CEDURE H|andler(e|
|00001b30| 3a 20 49 4e 54 45 47 45 | 52 3b 0d 09 09 09 09 09 |: INTEGE|R;......|
|00001b40| 09 09 09 09 09 09 09 20 | 20 6d 3a 20 4c 4f 4e 47 |....... | m: LONG|
|00001b50| 49 4e 54 29 29 3b 0d 09 | 09 7b 20 43 61 6c 6c 20 |INT));..|.{ Call |
|00001b60| 74 68 69 73 20 74 6f 20 | 73 65 74 20 75 70 20 61 |this to |set up a|
|00001b70| 6e 20 65 78 63 65 70 74 | 69 6f 6e 20 68 61 6e 64 |n except|ion hand|
|00001b80| 6c 65 72 2e 20 54 68 69 | 73 20 70 75 73 68 65 73 |ler. Thi|s pushes|
|00001b90| 20 79 6f 75 72 20 68 61 | 6e 64 6c 65 72 20 6f 6e | your ha|ndler on|
|00001ba0| 74 6f 0d 09 09 61 20 73 | 74 61 63 6b 20 6f 66 20 |to...a s|tack of |
|00001bb0| 65 78 63 65 70 74 69 6f | 6e 20 68 61 6e 64 6c 65 |exceptio|n handle|
|00001bc0| 72 73 2e 20 7d 0d 0d 09 | 09 50 52 4f 43 45 44 55 |rs. }...|.PROCEDU|
|00001bd0| 52 45 20 45 61 63 68 46 | 61 69 6c 75 72 65 48 61 |RE EachF|ailureHa|
|00001be0| 6e 64 6c 65 72 44 6f 28 | 50 52 4f 43 45 44 55 52 |ndlerDo(|PROCEDUR|
|00001bf0| 45 20 44 6f 54 6f 48 61 | 6e 64 6c 65 72 28 66 69 |E DoToHa|ndler(fi|
|00001c00| 50 74 72 3a 20 46 61 69 | 6c 49 6e 66 6f 50 74 72 |Ptr: Fai|lInfoPtr|
|00001c10| 29 29 3b 0d 09 09 7b 20 | 43 61 6c 6c 73 20 44 6f |));...{ |Calls Do|
|00001c20| 54 6f 48 61 6e 64 6c 65 | 72 20 66 6f 72 20 65 61 |ToHandle|r for ea|
|00001c30| 63 68 20 66 61 69 6c 75 | 72 65 20 68 61 6e 64 6c |ch failu|re handl|
|00001c40| 65 72 20 69 6e 20 74 68 | 65 20 73 74 61 63 6b 20 |er in th|e stack |
|00001c50| 66 72 6f 6d 20 67 54 6f | 70 48 61 6e 64 6c 65 72 |from gTo|pHandler|
|00001c60| 0d 09 09 74 6f 20 74 68 | 65 20 6f 75 74 65 72 6d |...to th|e outerm|
|00001c70| 6f 73 74 20 68 61 6e 64 | 6c 65 72 2e 20 7d 0d 0d |ost hand|ler. }..|
|00001c80| 09 09 50 52 4f 43 45 44 | 55 52 45 20 46 61 69 6c |..PROCED|URE Fail|
|00001c90| 75 72 65 28 65 72 72 6f | 72 3a 20 49 4e 54 45 47 |ure(erro|r: INTEG|
|00001ca0| 45 52 3b 0d 09 09 09 09 | 09 09 20 20 6d 65 73 73 |ER;.....|.. mess|
|00001cb0| 61 67 65 3a 20 4c 4f 4e | 47 49 4e 54 29 3b 0d 09 |age: LON|GINT);..|
|00001cc0| 09 7b 20 43 61 6c 6c 20 | 74 68 69 73 20 74 6f 20 |.{ Call |this to |
|00001cd0| 73 69 67 6e 61 6c 20 61 | 20 66 61 69 6c 75 72 65 |signal a| failure|
|00001ce0| 2e 20 20 43 6f 6e 74 72 | 6f 6c 20 77 69 6c 6c 20 |. Contr|ol will |
|00001cf0| 62 72 61 6e 63 68 20 74 | 6f 20 74 68 65 20 6d 6f |branch t|o the mo|
|00001d00| 73 74 20 72 65 63 65 6e | 74 0d 09 09 65 78 63 65 |st recen|t...exce|
|00001d10| 70 74 69 6f 6e 20 68 61 | 6e 64 6c 65 72 2c 20 77 |ption ha|ndler, w|
|00001d20| 68 69 63 68 20 77 69 6c | 6c 20 62 65 20 70 6f 70 |hich wil|l be pop|
|00001d30| 70 65 64 20 6f 66 66 20 | 74 68 65 20 68 61 6e 64 |ped off |the hand|
|00001d40| 6c 65 72 20 73 74 61 63 | 6b 2e 20 7d 0d 0d 09 09 |ler stac|k. }....|
|00001d50| 50 52 4f 43 45 44 55 52 | 45 20 46 61 69 6c 4d 65 |PROCEDUR|E FailMe|
|00001d60| 6d 45 72 72 6f 72 3b 0d | 09 09 7b 20 49 46 20 4d |mError;.|..{ IF M|
|00001d70| 65 6d 45 72 72 6f 72 20 | 3c 3e 20 6e 6f 45 72 72 |emError |<> noErr|
|00001d80| 20 54 48 45 4e 20 46 61 | 69 6c 75 72 65 28 4d 65 | THEN Fa|ilure(Me|
|00001d90| 6d 45 72 72 6f 72 2c 20 | 30 29 3b 20 49 66 20 79 |mError, |0); If y|
|00001da0| 6f 75 20 61 72 65 20 75 | 73 69 6e 67 0d 09 09 61 |ou are u|sing...a|
|00001db0| 73 73 65 6d 62 6c 65 72 | 2c 20 74 68 65 6e 20 79 |ssembler|, then y|
|00001dc0| 6f 75 20 73 68 6f 75 6c | 64 20 6a 75 73 74 20 74 |ou shoul|d just t|
|00001dd0| 65 73 74 20 74 68 65 20 | 72 65 74 75 72 6e 20 63 |est the |return c|
|00001de0| 6f 64 65 20 66 72 6f 6d | 20 74 68 65 20 4d 65 6d |ode from| the Mem|
|00001df0| 6f 72 79 0d 09 09 4d 61 | 6e 61 67 65 72 20 69 6e |ory...Ma|nager in|
|00001e00| 20 44 4f 20 62 79 20 63 | 61 6c 6c 69 6e 67 20 46 | DO by c|alling F|
|00001e10| 61 69 6c 4f 53 45 72 72 | 2e 20 28 53 65 65 20 74 |ailOSErr|. (See t|
|00001e20| 68 65 20 64 69 73 63 75 | 73 73 69 6f 6e 20 6f 66 |he discu|ssion of|
|00001e30| 20 4d 65 6d 45 72 72 6f | 72 20 69 6e 0d 09 09 49 | MemErro|r in...I|
|00001e40| 6e 73 69 64 65 20 4d 61 | 63 69 6e 74 6f 73 68 2e |nside Ma|cintosh.|
|00001e50| 29 20 7d 0d 0d 09 09 50 | 52 4f 43 45 44 55 52 45 |) }....P|ROCEDURE|
|00001e60| 20 46 61 69 6c 52 65 73 | 45 72 72 6f 72 3b 0d 09 | FailRes|Error;..|
|00001e70| 09 7b 20 49 46 20 52 65 | 73 45 72 72 6f 72 20 3c |.{ IF Re|sError <|
|00001e80| 3e 20 6e 6f 45 72 72 20 | 54 48 45 4e 20 46 61 69 |> noErr |THEN Fai|
|00001e90| 6c 75 72 65 28 52 65 73 | 45 72 72 6f 72 2c 20 30 |lure(Res|Error, 0|
|00001ea0| 29 3b 20 28 53 65 65 20 | 49 6e 73 69 64 65 20 4d |); (See |Inside M|
|00001eb0| 61 63 69 6e 74 6f 73 68 | 2e 29 20 7d 0d 0d 09 09 |acintosh|.) }....|
|00001ec0| 50 52 4f 43 45 44 55 52 | 45 20 46 61 69 6c 4e 65 |PROCEDUR|E FailNe|
|00001ed0| 77 4d 65 73 73 61 67 65 | 28 65 72 72 6f 72 3a 20 |wMessage|(error: |
|00001ee0| 49 4e 54 45 47 45 52 3b | 0d 09 09 09 09 09 09 09 |INTEGER;|........|
|00001ef0| 09 20 6f 6c 64 4d 65 73 | 73 61 67 65 2c 20 6e 65 |. oldMes|sage, ne|
|00001f00| 77 4d 65 73 73 61 67 65 | 3a 20 4c 4f 4e 47 49 4e |wMessage|: LONGIN|
|00001f10| 54 29 3b 0d 09 09 7b 20 | 54 68 69 73 20 64 6f 65 |T);...{ |This doe|
|00001f20| 73 3a 0d 09 09 49 46 20 | 6f 6c 64 4d 65 73 73 61 |s:...IF |oldMessa|
|00001f30| 67 65 20 3d 20 30 20 54 | 48 45 4e 0d 09 09 09 46 |ge = 0 T|HEN....F|
|00001f40| 61 69 6c 75 72 65 28 65 | 72 72 6f 72 2c 20 6e 65 |ailure(e|rror, ne|
|00001f50| 77 4d 65 73 73 61 67 65 | 29 0d 09 09 45 4c 53 45 |wMessage|)...ELSE|
|00001f60| 0d 09 09 09 46 61 69 6c | 75 72 65 28 65 72 72 6f |....Fail|ure(erro|
|00001f70| 72 2c 20 6f 6c 64 4d 65 | 73 73 61 67 65 29 3b 0d |r, oldMe|ssage);.|
|00001f80| 09 09 7d 0d 0d 09 09 50 | 52 4f 43 45 44 55 52 45 |..}....P|ROCEDURE|
|00001f90| 20 46 61 69 6c 4e 49 4c | 28 70 3a 20 55 4e 49 56 | FailNIL|(p: UNIV|
|00001fa0| 20 50 74 72 29 3b 0d 09 | 09 7b 20 43 61 6c 6c 20 | Ptr);..|.{ Call |
|00001fb0| 74 68 69 73 20 77 69 74 | 68 20 61 20 70 6f 69 6e |this wit|h a poin|
|00001fc0| 74 65 72 2f 68 61 6e 64 | 6c 65 3b 20 74 68 69 73 |ter/hand|le; this|
|00001fd0| 20 73 69 67 6e 61 6c 73 | 20 46 61 69 6c 75 72 65 | signals| Failure|
|00001fe0| 28 6d 65 6d 46 75 6c 6c | 45 72 72 2c 20 30 29 20 |(memFull|Err, 0) |
|00001ff0| 69 66 20 70 20 69 73 20 | 4e 49 4c 2e 20 7d 0d 0d |if p is |NIL. }..|
|00002000| 09 09 50 52 4f 43 45 44 | 55 52 45 20 46 61 69 6c |..PROCED|URE Fail|
|00002010| 4e 49 4c 52 65 73 6f 75 | 72 63 65 28 72 3a 20 55 |NILResou|rce(r: U|
|00002020| 4e 49 56 20 48 61 6e 64 | 6c 65 29 3b 0d 09 09 7b |NIV Hand|le);...{|
|00002030| 20 43 61 6c 6c 20 74 68 | 69 73 20 77 69 74 68 20 | Call th|is with |
|00002040| 61 20 72 65 73 6f 75 72 | 63 65 20 68 61 6e 64 6c |a resour|ce handl|
|00002050| 65 3b 20 74 68 69 73 20 | 73 69 67 6e 61 6c 73 20 |e; this |signals |
|00002060| 46 61 69 6c 75 72 65 20 | 69 66 20 74 68 65 20 68 |Failure |if the h|
|00002070| 61 6e 64 6c 65 20 69 73 | 20 6e 69 6c 2e 20 54 68 |andle is| nil. Th|
|00002080| 65 20 65 72 72 6f 72 20 | 69 73 0d 09 09 65 69 74 |e error |is...eit|
|00002090| 68 65 72 20 74 68 61 74 | 20 72 65 74 75 72 6e 65 |her that| returne|
|000020a0| 64 20 62 79 20 52 65 73 | 45 72 72 6f 72 2c 20 6f |d by Res|Error, o|
|000020b0| 72 20 72 65 73 4e 6f 74 | 46 6f 75 6e 64 20 69 66 |r resNot|Found if|
|000020c0| 20 52 65 73 45 72 72 6f | 72 20 72 65 74 75 72 6e | ResErro|r return|
|000020d0| 73 20 6e 6f 20 65 72 72 | 6f 72 2e 20 7d 0d 0d 09 |s no err|or. }...|
|000020e0| 09 50 52 4f 43 45 44 55 | 52 45 20 46 61 69 6c 4f |.PROCEDU|RE FailO|
|000020f0| 53 45 72 72 28 65 72 72 | 6f 72 3a 20 49 4e 54 45 |SErr(err|or: INTE|
|00002100| 47 45 52 29 3b 0d 09 09 | 7b 20 43 61 6c 6c 20 74 |GER);...|{ Call t|
|00002110| 68 69 73 20 77 69 74 68 | 20 61 6e 20 4f 53 45 72 |his with| an OSEr|
|00002120| 72 6f 72 3b 20 73 69 67 | 6e 61 6c 73 20 46 61 69 |ror; sig|nals Fai|
|00002130| 6c 75 72 65 28 65 72 72 | 6f 72 2c 20 30 29 20 69 |lure(err|or, 0) i|
|00002140| 66 20 65 72 72 6f 72 20 | 3c 3e 20 6e 6f 45 72 72 |f error |<> noErr|
|00002150| 2e 20 7d 0d 0d 09 09 46 | 55 4e 43 54 49 4f 4e 20 |. }....F|UNCTION |
|00002160| 48 61 6e 64 6c 65 72 45 | 78 69 73 74 73 28 74 65 |HandlerE|xists(te|
|00002170| 73 74 46 61 69 6c 49 6e | 66 6f 50 74 72 3a 20 46 |stFailIn|foPtr: F|
|00002180| 61 69 6c 49 6e 66 6f 50 | 74 72 29 3a 20 42 4f 4f |ailInfoP|tr): BOO|
|00002190| 4c 45 41 4e 3b 0d 09 09 | 7b 20 54 68 69 73 20 74 |LEAN;...|{ This t|
|000021a0| 65 73 74 20 72 65 74 75 | 72 6e 73 20 54 52 55 45 |est retu|rns TRUE|
|000021b0| 20 69 66 20 74 68 65 20 | 66 61 69 6c 75 72 65 20 | if the |failure |
|000021c0| 68 61 6e 64 6c 65 72 20 | 65 78 69 73 74 73 20 69 |handler |exists i|
|000021d0| 6e 20 74 68 65 20 73 74 | 61 63 6b 20 66 72 6f 6d |n the st|ack from|
|000021e0| 20 67 54 6f 70 48 61 6e | 64 6c 65 72 0d 09 09 74 | gTopHan|dler...t|
|000021f0| 6f 20 74 68 65 20 6f 75 | 74 65 72 6d 6f 73 74 20 |o the ou|termost |
|00002200| 68 61 6e 64 6c 65 72 2e | 20 20 7d 0d 0d 09 09 50 |handler.| }....P|
|00002210| 52 4f 43 45 44 55 52 45 | 20 53 75 63 63 65 73 73 |ROCEDURE| Success|
|00002220| 28 56 41 52 20 66 69 3a | 20 46 61 69 6c 49 6e 66 |(VAR fi:| FailInf|
|00002230| 6f 29 3b 0d 09 09 7b 20 | 43 61 6c 6c 20 74 68 69 |o);...{ |Call thi|
|00002240| 73 20 77 68 65 6e 20 79 | 6f 75 20 77 61 6e 74 20 |s when y|ou want |
|00002250| 74 6f 20 70 6f 70 20 79 | 6f 75 72 20 65 78 63 65 |to pop y|our exce|
|00002260| 70 74 69 6f 6e 20 68 61 | 6e 64 6c 65 72 2e 20 57 |ption ha|ndler. W|
|00002270| 65 20 61 73 73 75 6d 65 | 20 74 68 61 74 20 74 68 |e assume| that th|
|00002280| 65 20 70 72 6f 67 72 61 | 6d 6d 65 72 20 70 61 73 |e progra|mmer pas|
|00002290| 73 65 73 0d 09 09 69 6e | 20 74 68 65 20 6d 6f 73 |ses...in| the mos|
|000022a0| 74 20 72 65 63 65 6e 74 | 20 46 61 69 6c 49 6e 66 |t recent| FailInf|
|000022b0| 6f 20 72 65 63 6f 72 64 | 3b 20 69 65 2e 20 74 68 |o record|; ie. th|
|000022c0| 65 20 6f 6e 65 20 74 68 | 61 74 20 69 73 20 74 68 |e one th|at is th|
|000022d0| 65 20 74 6f 70 20 6f 66 | 20 74 68 65 20 73 74 61 |e top of| the sta|
|000022e0| 63 6b 2e 20 49 66 20 64 | 65 62 75 67 67 69 6e 67 |ck. If d|ebugging|
|000022f0| 0d 09 09 69 73 20 6f 6e | 2c 20 77 65 20 63 68 65 |...is on|, we che|
|00002300| 63 6b 20 74 6f 20 62 65 | 20 73 75 72 65 2e 20 7d |ck to be| sure. }|
|00002310| 0d 0d 49 4d 50 4c 45 4d | 45 4e 54 41 54 49 4f 4e |..IMPLEM|ENTATION|
|00002320| 0d 0d 09 7b 24 49 20 55 | 4d 41 46 61 69 6c 75 72 |...{$I U|MAFailur|
|00002330| 65 2e 69 6e 63 31 2e 70 | 7d 0d 45 4e 44 2e 0d 00 |e.inc1.p|}.END...|
|00002340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002380| 00 00 01 00 00 00 0d 03 | 00 00 0c 03 00 00 00 84 |........|........|
|00002390| 52 54 20 4d 41 4c 6f 6e | 67 56 65 72 73 69 6f 6e |RT MALon|gVersion|
|000023a0| 0d 0d 23 09 7b 4d 41 50 | 69 6e 74 65 72 66 61 63 |..#.{MAP|interfac|
|000023b0| 0c 55 4d 41 46 61 69 6c | 75 72 65 2e 70 6c 02 00 |.UMAFail|ure.pl..|
|000023c0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 28 01 80 |..TEXTMP|S ...(..|
|000023d0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 28 01 80 |..TEXTMP|S ...(..|
|000023e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023f0| 00 00 a2 64 55 ad 00 00 | 00 00 00 00 0d 87 49 6e |...dU...|......In|
|00002400| 74 65 72 66 61 63 65 73 | 3a 50 49 6e 74 65 72 66 |terfaces|:PInterf|
|00002410| 61 63 65 73 3a 22 0d 09 | 09 09 45 58 50 4f 52 54 |aces:"..|..EXPORT|
|00002420| 20 4d 41 50 69 6e 74 65 | 72 66 61 63 65 73 0d 0d | MAPinte|rfaces..|
|00002430| 23 09 7b 4d 41 52 49 6e | 63 6c 75 64 65 73 7d 20 |#.{MARIn|cludes} |
|00002440| 2d 20 54 68 65 20 70 61 | 74 68 20 74 6f 20 74 68 |- The pa|th to th|
|00002450| 65 20 4d 61 63 41 70 70 | 20 52 65 73 6f 75 72 63 |e MacApp| Resourc|
|00002460| 65 20 49 6e 74 65 72 66 | 61 63 65 73 2e 0d 09 09 |e Interf|aces....|
|00002470| 09 53 45 54 20 4d 41 52 | 49 6e 63 6c 75 64 65 73 |.SET MAR|Includes|
|00002480| 00 00 00 1e 00 2a 00 05 | 01 d3 02 73 00 2a 00 05 |.....*..|...s.*..|
|00002490| 01 d3 02 73 00 00 00 00 | 00 00 00 00 00 00 00 00 |...s....|........|
|000024a0| 00 00 00 00 09 64 00 00 | 6f 2e 91 b2 0f ff 51 80 |.....d..|o.....Q.|
|000024b0| 67 22 ff ff ff ff 01 00 | 00 36 00 00 00 00 00 00 |g"......|.6......|
|000024c0| 00 00 01 00 06 3c 00 00 | 00 00 01 00 09 64 00 00 |.....<..|.....d..|
|000024d0| 00 00 a2 61 1b 8c 00 1e | 00 0a ff af 00 f6 61 14 |...a....|......a.|
|000024e0| 08 bf ff ff 60 00 00 94 | 01 00 00 5e 01 00 02 3c |....`...|...^...<|
|000024f0| ff ff ff ff 00 00 00 10 | 01 00 00 f6 ff ff 80 00 |........|........|
|00002500| 4e ad 03 c2 00 6d 61 fe | 00 8b ff ff 80 00 4e ad |N....ma.|......N.|
|00002510| 01 00 00 86 ff ff ff ff | ff ff ff ff 00 00 00 10 |........|........|
|00002520| 01 00 00 16 00 00 7f ff | 03 b2 58 8f 00 c2 65 d2 |........|..X...e.|
|00002530| 11 72 72 25 7f ff 03 b2 | 01 00 00 ea 01 00 08 32 |.rr%....|.......2|
|00002540| ff ff ff ff 01 00 00 ae | 01 00 01 f6 ff ff 00 00 |........|........|
|00002550| 00 00 14 c3 00 00 00 04 | 00 f6 01 00 ff ff 01 00 |........|........|
|00002560| 00 86 03 6e 01 00 02 20 | 00 97 65 d2 11 72 7f ff |...n... |..e..r..|
|00002570| ff f6 4e ad 00 00 00 00 | 00 00 00 00 00 00 00 00 |..N.....|........|
|00002580| 00 37 de a0 00 00 01 00 | fe 84 2e 2e ff f2 4e 5e |.7......|......N^|
|00002590| 00 75 65 d2 11 72 7f ff | 6c 65 00 00 01 00 02 64 |.ue..r..|le.....d|
|000025a0| ff ff ff ff ff ff ff ff | 01 00 02 20 01 00 01 00 |........|... ....|
|000025b0| ff ff 00 00 00 00 15 5d | 00 75 10 69 bf ff ff ff |.......]|.u.i....|
|000025c0| 4e 56 ff 36 01 00 01 90 | 01 00 01 6c 01 00 01 6c |NV.6....|...l...l|
|000025d0| 01 00 01 36 01 00 03 76 | 00 00 00 7a 00 00 00 2c |...6...v|...z...,|
|000025e0| 00 0c 01 00 ff ff ff ff | ff ff 05 30 00 00 00 00 |........|...0....|
|000025f0| 01 00 01 50 da 76 00 00 | 00 00 04 8f 01 00 ff ff |...P.v..|........|
|00002600| ff ff ff ff 01 7a 00 00 | 00 10 00 00 00 01 00 00 |.....z..|........|
|00002610| 00 0b 00 a4 01 11 97 ff | ff ff 00 0b 3d 7c ff ff |........|....=|..|
|00002620| ff ff ff ff ff ff 01 00 | 01 90 00 00 00 10 01 00 |........|........|
|00002630| 03 15 00 2c 00 8f 00 1a | 60 19 9f 41 ff ff 00 a7 |...,....|`..A....|
|00002640| 4e ad 01 00 01 b4 01 00 | 01 fc 01 00 01 b4 00 00 |N.......|........|
|00002650| 00 00 01 00 03 fd 00 2e | 00 6e 00 a4 65 d2 1f fc |........|.n..e...|
|00002660| 3f ff ff a4 48 c0 01 00 | 01 d8 ff ff ff ff 01 00 |?...H...|........|
|00002670| 01 d8 00 00 00 00 01 00 | 03 ad 00 32 00 02 00 00 |........|...2....|
|00002680| 65 d2 26 bf ff ff 4f ef | 00 10 ff ff ff ff ff ff |e.&...O.|........|
|00002690| ff ff 01 00 01 fc 00 00 | 00 00 01 00 03 6e 00 36 |........|.....n.6|
|000026a0| 00 78 00 ac 28 7c 0a 2e | 4f ff 2f 00 2f 0c ff ff |.x..(|..|O././...|
|000026b0| ff ff ff ff ff ff ff ff | ff ff 01 00 00 ae 01 00 |........|........|
|000026c0| 03 ae 00 3a 00 9a 00 00 | 00 3e 00 80 01 00 ff ff |...:....|.>......|
|000026d0| 01 00 00 ea 06 9a 01 00 | 01 12 01 00 01 12 ff ff |........|........|
|000026e0| ff ff 00 0c 4e 5d 21 17 | 27 ff 00 10 30 2e ff ff |....N]!.|'...0...|
|000026f0| ff ff 01 00 02 da ff ff | ff ff 01 00 00 ae 01 00 |........|........|
|00002700| 01 02 ff ff 00 00 00 00 | 17 37 00 ef 68 4e 79 75 |........|.7..hNyu|
|00002710| b8 02 4e ad 05 12 ff ff | ff ff 01 00 05 9e ff ff |..N.....|........|
|00002720| ff ff 01 00 00 ae 01 00 | 02 00 1a 7a ff ff 80 03 |........|...z....|
|00002730| 00 00 00 00 ff 9c 48 6e | ff 9a 01 00 02 9a 58 8f |......Hn|......X.|
|00002740| 0b 67 54 6f 70 48 61 6e | 64 6c 65 72 00 00 00 00 |.gTopHan|dler....|
|00002750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002780| 00 a8 3b 30 10 a1 af ff | 2f 00 2f 0c ff ff ff ff |..;0....|/./.....|
|00002790| 01 00 03 70 ff ff ff ff | 00 00 01 80 01 00 04 01 |...p....|........|
|000027a0| 00 01 01 00 03 10 ff ff | 00 01 00 0e ff ff 00 00 |........|........|
|000027b0| 00 00 00 00 00 00 00 6d | 51 ad a0 a1 af ff 2f 2d |.......m|Q...../-|
|000027c0| da 76 01 00 03 40 ff ff | ff ff 01 00 03 40 00 00 |.v...@..|.....@..|
|000027d0| 00 98 01 00 02 00 1d de | ff ff 00 02 00 00 00 0c |........|........|
|000027e0| 60 70 20 2e ff ae 00 ae | 58 35 12 48 a1 af da 7a |`p .....|X5.H...z|
|000027f0| 67 20 ff ff ff ff ff ff | ff ff ff ff ff ff 05 00 |g ......|........|
|00002800| 05 7c 01 00 02 00 0e ba | ff ff 00 02 00 00 00 08 |.|......|........|
|00002810| 67 0c 30 2e ff ba 00 c0 | f1 b4 8b 07 03 81 48 6e |g.0.....|......Hn|
|00002820| ff c4 01 00 08 98 01 00 | 04 06 ff ff ff ff 00 00 |........|........|
|00002830| 00 00 01 80 05 01 00 01 | 01 00 03 a6 ff ff 06 cb |........|........|
|00002840| 00 0c ff ff 00 00 00 00 | 00 00 2e 9f 00 01 41 f7 |........|......A.|
|00002850| d9 95 ff ff ff b6 48 6e | 01 00 03 d6 ff ff ff ff |......Hn|........|
|00002860| 01 00 03 d6 00 00 00 10 | 01 00 02 00 0f 2e ff ff |........|........|
|00002870| 00 02 00 00 00 0a 2f 01 | 70 08 2f 00 00 2e 72 9a |....../.|p./...r.|
|00002880| e7 b3 2b ff 4f ef 00 10 | ff ff ff ff ff ff ff ff |..+.O...|........|
|00002890| ff ff ff ff 00 00 00 10 | 01 00 02 00 1f 36 ff ff |........|.....6..|
|000028a0| 00 02 00 00 00 08 4f ef | 00 1c 70 01 00 00 d3 8d |......O.|..p.....|
|000028b0| 73 08 03 85 2e 9f 4c ee | 01 00 06 34 01 00 05 02 |s.....L.|...4....|
|000028c0| ff ff ff ff 00 00 01 80 | 01 00 04 01 00 01 01 00 |........|........|
|000028d0| 04 3c ff ff 00 56 00 14 | ff ff 00 00 00 00 00 00 |.<...V..|........|
|000028e0| 00 00 00 08 65 3f ff ff | ff ff 4a 80 58 8f 01 00 |....e?..|..J.X...|
|000028f0| 04 6c ff ff ff ff 01 00 | 04 6c 01 00 02 20 01 00 |.l......|.l... ..|
|00002900| 02 01 07 18 ff ff 00 02 | 00 00 00 10 04 4a 70 01 |........|.....Jp.|
|00002910| 2f 00 00 0c 72 eb 70 05 | ff ff 00 10 2f 0b ff ff |/...r.p.|..../...|
|00002920| ff ff ff ff ff ff ff ff | ff ff 00 00 01 80 01 00 |........|........|
|00002930| 04 01 00 02 01 00 04 a2 | ff ff 03 01 00 08 ff ff |........|........|
|00002940| 00 00 00 00 00 00 00 00 | 00 2b 07 ff ff ff ff ff |........|.+......|
|00002950| 2f 2b 00 06 01 00 04 d2 | ff ff ff ff 01 00 04 d2 |/+......|........|
|00002960| 00 00 00 10 01 00 02 00 | 0f 2b ff ff 00 02 00 00 |........|.+......|
|00002970| 00 10 2f 0b 4e ad 05 12 | 00 13 63 ff ff ff ff ff |../.N...|..c.....|
|00002980| 4f ef 00 10 ff ff ff ff | ff ff ff ff ff ff ff ff |O.......|........|
|00002990| 00 00 00 00 01 00 02 00 | 1c 1c ff ff 00 02 00 00 |........|........|
|000029a0| 00 0c 27 47 00 02 4c ee | 00 80 83 d7 39 0b 03 8a |..'G..L.|....9...|
|000029b0| 8d 70 61 72 ff ff ff ff | ff ff ff ff ff ff ff ff |.par....|........|
|000029c0| 00 00 01 80 01 00 04 01 | 00 01 01 00 05 38 ff ff |........|.....8..|
|000029d0| 00 68 00 10 ff ff 00 00 | 00 00 00 00 00 00 00 00 |.h......|........|
|000029e0| 59 89 f2 eb 70 05 04 f2 | 4e 5e ff ff ff ff ff ff |Y...p...|N^......|
|000029f0| ff ff ff ff ff ff 00 00 | 01 80 01 00 04 01 00 02 |........|........|
|00002a00| 01 00 05 6e ff ff 03 e7 | 00 08 ff ff 00 00 00 00 |...n....|........|
|00002a10| 00 00 00 00 00 00 65 24 | 4b ff ff ff 2c 00 2f 0b |......e$|K...,./.|
|00002a20| ff ff ff ff ff ff ff ff | ff ff ff ff 01 00 00 ae |........|........|
|00002a30| 01 00 02 00 08 e0 ff ff | 00 02 00 00 00 0c 78 50 |........|......xP|
|00002a40| 61 63 6b 65 00 53 65 d2 | 36 41 ff ff 4e 56 00 00 |acke.Se.|6A..NV..|
|00002a50| ff ff ff ff 01 00 07 66 | ff ff ff ff 00 00 01 80 |.......f|........|
|00002a60| 01 00 04 01 00 01 01 00 | 05 d4 ff ff 00 6e 00 0e |........|.....n..|
|00002a70| ff ff 00 00 00 00 00 00 | 00 00 00 80 01 11 97 ff |........|........|
|00002a80| ff ff 52 80 48 86 01 00 | 06 04 ff ff ff ff 01 00 |..R.H...|........|
|00002a90| 06 04 00 00 00 10 01 00 | 02 00 02 9c ff ff 00 02 |........|........|
|00002aa0| 00 00 00 0c 48 6d e5 a4 | 20 54 00 70 60 19 9f 41 |....Hm..| T.p`..A|
|00002ab0| ff ff 50 8f 70 00 ff ff | ff ff ff ff ff ff ff ff |..P.p...|........|
|00002ac0| ff ff 00 00 00 00 01 00 | 02 00 06 8c ff ff 00 02 |........|........|
|00002ad0| 00 00 00 08 4e 75 8d 61 | 64 64 00 65 e5 d2 30 07 |....Nu.a|dd.e..0.|
|00002ae0| 03 92 74 68 00 00 ff ff | ff ff 01 00 06 6a ff ff |..th....|.....j..|
|00002af0| ff ff 00 00 01 80 01 00 | 04 01 00 01 ff ff ff ff |........|........|
|00002b00| ff ff 00 61 00 08 ff ff | 00 00 00 00 00 00 00 00 |...a....|........|
|00002b10| 00 63 e5 d2 08 07 03 96 | 00 00 4e 56 01 00 06 a0 |.c......|..NV....|
|00002b20| ff ff ff ff ff ff ff ff | 00 00 01 80 01 00 04 01 |........|........|
|00002b30| 00 01 ff ff ff ff ff ff | 00 64 00 08 ff ff 00 00 |........|.d......|
|00002b40| 00 00 00 00 00 00 00 61 | e5 d2 14 08 03 9a 68 00 |.......a|......h.|
|00002b50| 00 00 01 00 07 cc ff ff | ff ff ff ff ff ff 00 00 |........|........|
|00002b60| 01 80 01 00 04 01 00 01 | 01 00 06 d6 ff ff 00 10 |........|........|
|00002b70| 00 12 ff ff 00 00 00 00 | 00 00 00 00 00 d0 01 11 |........|........|
|00002b80| 97 ff ff ff 2f 0b 4e ba | 01 00 07 06 ff ff ff ff |..../.N.|........|
|00002b90| 01 00 07 06 00 00 00 10 | 01 00 02 00 0f 73 ff ff |........|.....s..|
|00002ba0| 00 02 00 00 00 10 63 68 | 50 61 74 68 00 00 1c 5e |......ch|Path...^|
|00002bb0| 01 99 f4 1f 00 18 26 6e | 01 00 07 36 ff ff ff ff |......&n|...6....|
|00002bc0| 01 00 07 36 00 00 00 00 | 01 00 02 00 07 44 ff ff |...6....|.....D..|
|00002bd0| 00 02 00 00 00 0c 22 5c | 28 40 20 0c 00 8f 28 77 |......"\|(@ ...(w|
|00002be0| 80 66 7d 07 52 80 2f 00 | ff ff ff ff ff ff ff ff |.f}.R./.|........|
|00002bf0| ff ff ff ff 00 00 00 00 | 01 00 02 00 0f 00 ff ff |........|........|
|00002c00| 00 02 00 00 00 08 20 0c | 90 8b 42 30 00 01 65 d2 |...... .|..B0..e.|
|00002c10| 15 23 ff ff 18 00 ff f8 | ff ff ff ff ff ff ff ff |.#......|........|
|00002c20| ff ff ff ff 00 00 01 80 | 01 00 04 01 00 01 01 00 |........|........|
|00002c30| 07 9c ff ff 00 18 00 0c | ff ff 00 00 00 00 00 00 |........|........|
|00002c40| 00 00 00 c0 4f ff ff ff | ff ff d6 fc 00 01 ff ff |....O...|........|
|00002c50| ff ff ff ff ff ff ff ff | ff ff 05 00 01 0a 01 00 |........|........|
|00002c60| 02 00 52 80 ff ff 00 02 | 00 00 00 08 6f 04 70 00 |..R.....|....o.p.|
|00002c70| 60 16 00 0b e5 d2 15 08 | 03 9f 4e ba 20 ba ff ff |`.......|..N. ...|
|00002c80| ff ff ff ff ff ff ff ff | ff ff 00 00 01 80 01 00 |........|........|
|00002c90| 04 01 00 01 01 00 08 02 | ff ff 00 68 00 0c ff ff |........|...h....|
|00002ca0| 00 00 00 00 00 00 00 00 | 00 08 17 ff ff ff ff ff |........|........|
|00002cb0| d9 4c 42 6d ff ff ff ff | ff ff ff ff ff ff ff ff |.LBm....|........|
|00002cc0| 05 00 01 46 01 00 02 00 | 46 40 ff ff 00 02 00 00 |...F....|F@......|
|00002cd0| 00 08 b7 ee 00 08 66 00 | 00 b4 65 d2 0d 80 8b ff |......f.|..e.....|
|00002ce0| 2f 2e 00 08 ff ff ff ff | ff ff ff ff ff ff ff ff |/.......|........|
|00002cf0| 00 00 01 80 01 00 04 01 | 00 01 01 00 08 68 ff ff |........|.....h..|
|00002d00| 00 fc 00 0a ff ff 00 00 | 00 00 00 00 00 00 00 8f |........|........|
|00002d10| 01 11 97 ff ff ff 60 2a | 30 2d ff ff ff ff ff ff |......`*|0-......|
|00002d20| ff ff ff ff ff ff 00 00 | 00 10 01 00 02 00 00 08 |........|........|
|00002d30| ff ff 00 02 00 00 00 08 | 30 2d f3 6e 48 c0 00 00 |........|0-.nH...|
|00002d40| f2 eb 70 08 03 a4 60 26 | 70 00 01 00 08 fe ff ff |..p...`&|p.......|
|00002d50| ff ff ff ff ff ff 00 00 | 00 98 01 00 05 01 00 01 |........|........|
|00002d60| 01 00 08 ce ff ff 00 08 | 00 0c ff ff 00 00 00 00 |........|........|
|00002d70| 00 00 00 00 00 0b 88 30 | e5 08 03 a9 2f 13 4e ba |.......0|..../.N.|
|00002d80| ff ff ff ff ff ff ff ff | ff ff ff ff 01 00 00 ae |........|........|
|00002d90| 01 00 02 00 0e ad ff ff | 00 02 00 00 00 08 f3 6e |........|.......n|
|00002da0| 48 c0 2e 00 00 8f 36 ea | 81 9b ff ff 2f 2e 00 08 |H.....6.|..../...|
|00002db0| ff ff ff ff ff ff ff ff | ff ff ff ff 00 00 01 80 |........|........|
|00002dc0| 01 00 04 01 00 01 01 00 | 09 34 ff ff 00 0c 00 0c |........|.4......|
|00002dd0| ff ff 00 00 00 00 00 00 | 00 00 00 2e 65 3f ff ff |........|....e?..|
|00002de0| ff ff 18 80 ff f0 ff ff | ff ff ff ff ff ff ff ff |........|........|
|00002df0| ff ff 01 00 02 20 01 00 | 02 01 01 10 ff ff 00 02 |..... ..|........|
|00002e00| 00 00 00 08 f3 70 2f 0b | 4e ad 00 00 00 2d c0 33 |.....p/.|N....-.3|
|00002e10| 3e 83 97 48 d9 03 7f 74 | 8d 90 72 eb 70 05 67 18 |>..H...t|..r.p.g.|
|00002e20| 02 23 2f 18 08 8c bf 3b | c0 33 3e 83 20 81 8f 65 |.#/....;|.3>. ..e|
|00002e30| 41 04 1f 08 c2 df d2 11 | 72 72 25 00 00 01 f8 a1 |A.......|rr%.....|
|00002e40| 52 96 6f a2 61 1b 8e a2 | 3b 9d c0 00 01 03 81 ff |R.o.a...|;.......|
|00002e50| ff ff ff 4a 05 08 01 00 | 00 00 00 01 00 00 01 01 |...J....|........|
|00002e60| 00 00 05 00 37 73 92 00 | 37 8b 08 00 23 4d 50 53 |....7s..|7...#MPS|
|00002e70| 52 17 53 74 61 6e 64 61 | 72 64 20 50 61 73 63 61 |R.Standa|rd Pasca|
|00002e80| 6c 20 53 79 6d 62 6f 6c | 73 00 00 00 00 00 04 00 |l Symbol|s.......|
|00002e90| 0a 00 00 32 71 00 00 00 | 00 00 05 00 10 00 00 32 |...2q...|.......2|
|00002ea0| 93 00 00 00 00 00 02 00 | 1a 00 00 32 b4 00 00 00 |........|...2....|
|00002eb0| 00 00 37 dd f2 00 37 e7 | 56 00 4b a2 61 1b 8c 08 |..7...7.|V.K.a...|
|00002ec0| 55 46 41 49 4c 55 52 45 | 72 72 6f 72 20 2d 20 72 |UFAILURE|rror - r|
|00002ed0| 65 73 65 74 69 6e 67 20 | 6c 69 73 74 20 73 69 00 |eseting |list si.|
|00002ee0| 72 37 4e 00 00 03 50 00 | 00 00 5c 00 71 03 4c 6f |r7N...P.|..\.q.Lo|
|00002ef0| 70 65 6e 00 37 89 08 00 | 37 de e4 00 37 00 e0 00 |pen.7...|7...7...|
|00002f00| 00 00 00 00 00 00 00 00 | 00 a2 4e 97 00 06 45 52 |........|..N...ER|
|00002f10| 52 4f 52 53 52 45 72 72 | 6f 72 20 2d 20 72 65 73 |RORSRErr|or - res|
|00002f20| 65 74 69 6e 67 20 6c 69 | 73 74 20 73 69 00 72 37 |eting li|st si.r7|
|00002f30| 4e 00 00 03 50 00 00 00 | 5c 00 71 03 4c 6f 70 65 |N...P...|\.q.Lope|
|00002f40| 6e 00 37 89 08 00 37 de | e4 00 37 00 e0 00 00 00 |n.7...7.|..7.....|
|00002f50| 00 00 00 00 00 00 00 a2 | 61 19 f9 09 52 45 53 4f |........|a...RESO|
|00002f60| 55 52 43 45 53 72 6f 72 | 20 2d 20 72 65 73 65 74 |URCESror| - reset|
|00002f70| 69 6e 67 20 6c 69 73 74 | 20 73 69 00 72 37 4e 00 |ing list| si.r7N.|
|00002f80| 00 03 50 00 00 00 5c 00 | 71 03 4c 6f 70 65 6e 00 |..P...\.|q.Lopen.|
|00002f90| 37 89 08 00 37 de e4 00 | 37 00 e0 00 00 00 00 00 |7...7...|7.......|
|00002fa0| 00 00 00 00 00 a2 61 19 | f8 06 4d 45 4d 4f 52 59 |......a.|..MEMORY|
|00002fb0| 43 45 53 72 6f 72 20 2d | 20 72 65 73 65 74 69 6e |CESror -| resetin|
|00002fc0| 67 20 6c 69 73 74 20 73 | 69 00 72 37 4e 00 00 03 |g list s|i.r7N...|
|00002fd0| 50 00 00 00 5c 00 71 03 | 4c 6f 70 65 6e 00 37 89 |P...\.q.|Lopen.7.|
|00002fe0| 08 00 37 de e4 00 37 00 | e0 00 00 00 00 00 00 00 |..7...7.|........|
|00002ff0| 00 00 03 a2 61 19 f7 05 | 54 59 50 45 53 59 43 45 |....a...|TYPESYCE|
|00003000| 53 72 6f 72 20 2d 20 72 | 65 73 65 74 69 6e 67 20 |Sror - r|eseting |
|00003010| 6c 69 73 74 20 73 69 00 | 72 37 4e 00 00 03 50 00 |list si.|r7N...P.|
|00003020| 00 00 5c 00 71 03 4c 6f | 70 65 6e 00 37 89 08 00 |..\.q.Lo|pen.7...|
|00003030| 37 de e4 00 37 00 e0 00 | 00 00 48 00 09 4d 6f 6e |7...7...|..H..Mon|
|00003040| 61 63 6f 00 00 00 48 00 | 00 00 00 00 01 00 01 00 |aco...H.|........|
|00003050| 01 00 00 00 00 00 4d 07 | 98 00 00 00 00 00 06 00 |......M.|........|
|00003060| 04 00 2a 00 05 01 d3 02 | 5d 00 2a 00 05 01 d3 02 |..*.....|].*.....|
|00003070| 5d a2 3b 9d c0 00 00 00 | 00 00 00 00 00 00 00 00 |].;.....|........|
|00003080| 00 01 00 00 00 01 00 00 | 00 0d 03 00 00 0c 03 00 |........|........|
|00003090| 00 00 84 00 34 5b 34 06 | fc 00 00 00 1c 00 6a 00 |....4[4.|......j.|
|000030a0| 01 4d 50 53 52 00 01 00 | 12 75 6e 69 74 00 02 00 |.MPSR...|.unit...|
|000030b0| 2a 03 f0 ff ff 00 00 00 | 00 00 00 00 00 03 ed ff |*.......|........|
|000030c0| ff 00 00 0b b7 00 36 4b | 3c 00 03 00 00 00 00 00 |......6K|<.......|
|000030d0| 22 00 00 00 00 00 02 00 | 0a 00 00 09 8a 00 00 00 |".......|........|
|000030e0| 00 00 00 00 13 00 00 09 | bb 00 00 00 00 09 53 79 |........|......Sy|
|000030f0| 6d 62 54 61 62 6c 65 08 | 50 61 63 6b 53 79 6d 73 |mbTable.|PackSyms|
|00003100| 06 48 65 61 64 65 72 00 | 00 00 00 00 00 00 00 00 |.Header.|........|
|00003110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+